Updating build config.
This commit is contained in:
parent
3c99ef0f90
commit
237073970e
|
@ -26,7 +26,6 @@ else()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
add_library(imgui STATIC
|
add_library(imgui STATIC
|
||||||
# Main Imgui files
|
# Main Imgui files
|
||||||
ext/imgui/imgui.cpp
|
ext/imgui/imgui.cpp
|
||||||
|
|
|
@ -7,7 +7,6 @@ set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
|
||||||
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
||||||
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
|
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
|
||||||
|
|
||||||
|
|
||||||
# Debian settings
|
# Debian settings
|
||||||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "K. Isom")
|
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "K. Isom")
|
||||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Kyle's Graphical Editor")
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Kyle's Graphical Editor")
|
||||||
|
@ -17,24 +16,22 @@ set(CPACK_DEBIAN_PACKAGE_DEPENDS
|
||||||
"libsdl2-2.0-0"
|
"libsdl2-2.0-0"
|
||||||
"libfreetype6 (>= 2.11.1)"
|
"libfreetype6 (>= 2.11.1)"
|
||||||
)
|
)
|
||||||
|
|
||||||
set(CPACK_DEBIAN_PACKAGE_SECTION devel)
|
set(CPACK_DEBIAN_PACKAGE_SECTION devel)
|
||||||
|
|
||||||
if(LINUX)
|
if(LINUX)
|
||||||
set(CPACK_GENERATOR "DEB;STGZ;TGZ")
|
set(CPACK_GENERATOR "DEB;STGZ;TGZ")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
set(CPACK_GENERATOR "PACKAGEMAKER")
|
set(CPACK_GENERATOR "productbuild")
|
||||||
elseif(MSVC OR MSYS OR MINGW)
|
elseif(MSVC OR MSYS OR MINGW)
|
||||||
set(CPACK_GENERATOR "NSIS;ZIP")
|
set(CPACK_GENERATOR "NSIS;ZIP")
|
||||||
else()
|
else()
|
||||||
set(CPACK_GENERATOR "ZIP")
|
set(CPACK_GENERATOR "ZIP")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CPACK_SOURCE_GENERATOR "TGZ;ZIP")
|
set(CPACK_SOURCE_GENERATOR "TGZ;ZIP")
|
||||||
|
|
||||||
set(CPACK_SOURCE_IGNORE_FILES
|
set(CPACK_SOURCE_IGNORE_FILES
|
||||||
/.git
|
/.git
|
||||||
/dist
|
/dist
|
||||||
/.*build.*)
|
/.*build.*)
|
||||||
|
|
||||||
include (CPack)
|
include(CPack)
|
||||||
|
|
Loading…
Reference in New Issue