mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix CMake testing module.
This commit is contained in:
parent
e09a09005d
commit
a030f47178
|
|
@ -1,9 +1,15 @@
|
|||
# Project defines
|
||||
addDef( "TORQUE_TESTS_ENABLED" )
|
||||
addDef( "_VARIADIC_MAX" 10 )
|
||||
option(TORQUE_TESTS_ENABLED "TORQUE_TESTS_ENABLED" OFF)
|
||||
|
||||
# Add source files
|
||||
addPathRec( "${srcDir}/testing" )
|
||||
if(TORQUE_TESTS_ENABLED)
|
||||
|
||||
# Add include paths
|
||||
addInclude( "${libDir}/gtest/fused-src/" )
|
||||
# Project defines
|
||||
addDef( "TORQUE_TESTS_ENABLED" )
|
||||
addDef( "_VARIADIC_MAX" 10 )
|
||||
|
||||
# Add source files
|
||||
addPathRec( "${srcDir}/testing" )
|
||||
|
||||
# Add include paths
|
||||
addInclude( "${libDir}/gtest/fused-src/" )
|
||||
|
||||
endif()
|
||||
|
|
@ -325,6 +325,8 @@ if(TORQUE_DEDICATED)
|
|||
addDef(TORQUE_DEDICATED)
|
||||
endif()
|
||||
|
||||
include( "modules/module_testing.cmake" )
|
||||
|
||||
|
||||
###############################################################################
|
||||
# platform specific things
|
||||
|
|
|
|||
Loading…
Reference in a new issue