mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 15:37:53 -05:00
add GEODE_GD_VERSION_STRING macro because i do not trust floating point numbers
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
This commit is contained in:
parent
0c42076903
commit
5a7974f07a
1 changed files with 6 additions and 1 deletions
|
@ -193,7 +193,12 @@ if (NOT DEFINED GEODE_GD_VERSION)
|
||||||
set(GEODE_COMP_GD_VERSION 22060)
|
set(GEODE_COMP_GD_VERSION 22060)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_compile_definitions(${PROJECT_NAME} INTERFACE GEODE_GD_VERSION=${GEODE_GD_VERSION} GEODE_COMP_GD_VERSION=${GEODE_COMP_GD_VERSION})
|
target_compile_definitions(
|
||||||
|
${PROJECT_NAME} INTERFACE
|
||||||
|
GEODE_GD_VERSION=${GEODE_GD_VERSION}
|
||||||
|
GEODE_COMP_GD_VERSION=${GEODE_COMP_GD_VERSION}
|
||||||
|
GEODE_GD_VERSION_STRING="${GEODE_GD_VERSION}"
|
||||||
|
)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
# This allows you to compile in debug mode
|
# This allows you to compile in debug mode
|
||||||
|
|
Loading…
Reference in a new issue