Only set the CPACK_STRIP_FILES variable once, and use more threads for CPack.
This commit is contained in:
parent
dfe21742e3
commit
6e049495f4
|
@ -55,6 +55,8 @@ if(MINGW OR MSVC)
|
|||
endif()
|
||||
|
||||
# CPack configuration
|
||||
set(CPACK_THREADS 0) # Used by CMake 3.20+
|
||||
set(CPACK_ARCHIVE_THREADS ${CPACK_THREADS})
|
||||
set(CPACK_STRIP_FILES TRUE)
|
||||
set(CPACK_VERBATIM_VARIABLES TRUE)
|
||||
string(TIMESTAMP TIME "%Y.%m+%d")
|
||||
|
@ -68,7 +70,6 @@ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
|
|||
set(CPACK_PACKAGE_CONTACT "Username404 <w.iron.zombie@gmail.com>")
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Yerbacon ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}")
|
||||
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CMAKE_PROJECT_VERSION}-${TIME}")
|
||||
set(CPACK_STRIP_FILES TRUE)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_LIST_DIR})
|
||||
add_executable(${EXENAME} src/main.cpp ${CMAKE_CURRENT_BINARY_DIR}/processed/${PROJECT_NAME}.rc src/parser/MainParse.cpp src/transpiler/MainTranspile.cpp src/etc/filefuncs.cpp src/etc/lexer.cpp src/headers/lex.hpp src/headers/misc.hpp src/headers/parsing/ParseComponents.hpp src/headers/parsing/StandardComponents.hpp)
|
||||
|
|
Loading…
Reference in New Issue