remove legacy app specification over cmake
This commit is contained in:
@ -135,10 +135,6 @@ target_precompile_headers(${TWN_TARGET} PRIVATE
|
||||
$<$<NOT:$<BOOL:${EMSCRIPTEN}>>:third-party/glad/include/glad/glad.h>
|
||||
third-party/stb/stb_ds.h)
|
||||
|
||||
# distribution definitions, set them with -DX=X in cli
|
||||
set(PACKAGE_EXTENSION "btw" CACHE STRING
|
||||
"File extension used to look for data archives")
|
||||
|
||||
|
||||
function(give_options_without_warnings target)
|
||||
set(BUILD_FLAGS
|
||||
@ -185,9 +181,6 @@ function(give_options_without_warnings target)
|
||||
-Wl,--hash-style=gnu)
|
||||
|
||||
target_compile_definitions(${target} PUBLIC
|
||||
ORGANIZATION_NAME="${ORGANIZATION_NAME}"
|
||||
APP_NAME="${APP_NAME}"
|
||||
PACKAGE_EXTENSION="${PACKAGE_EXTENSION}"
|
||||
$<$<BOOL:${TWN_FEATURE_DYNLIB_GAME}>:TWN_FEATURE_DYNLIB_GAME>)
|
||||
endfunction()
|
||||
|
||||
|
Reference in New Issue
Block a user