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