remove legacy app specification over cmake
This commit is contained in:
parent
9a925a9216
commit
b12faa6a44
@ -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()
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/* TODO: consider if it's still necessary to keep these in one place */
|
||||
|
||||
#define PACKAGE_EXTENSION "btw"
|
||||
|
||||
#define TICKS_PER_SECOND_DEFAULT 60
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user