mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
6eb051b5a4
commit
4098be88db
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ forwardDef(TORQUE_SDL)
|
||||||
if(TORQUE_TESTING)
|
if(TORQUE_TESTING)
|
||||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_TESTS_ENABLED)
|
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_TESTS_ENABLED)
|
||||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} "_VARIADIC_MAX=10")
|
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} "_VARIADIC_MAX=10")
|
||||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_DISABLE_MEMORY_MANAGER)
|
# this is not efficient, do not let this define go out in production code.
|
||||||
|
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} "MALLOC_CHECK_=1")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# On Windows we disable CRT Security warnings - this comes from recommendations to use non-portable functions.
|
# On Windows we disable CRT Security warnings - this comes from recommendations to use non-portable functions.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue