Updating build config.

This commit is contained in:
Kyle Isom 2023-10-10 19:27:17 -07:00
parent 3c99ef0f90
commit 237073970e
2 changed files with 9 additions and 13 deletions

View File

@ -26,7 +26,6 @@ else()
endif()
endif()
add_library(imgui STATIC
# Main Imgui files
ext/imgui/imgui.cpp

View File

@ -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.*)
include (CPack)
include(CPack)