mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Merge pull request #731 from LuisAntonRebollo/fix_cmake_testing_module
Fix CMake testing module.
This commit is contained in:
commit
c8153cfd29
2 changed files with 15 additions and 7 deletions
|
|
@ -1,9 +1,15 @@
|
||||||
# Project defines
|
option(TORQUE_TESTS_ENABLED "TORQUE_TESTS_ENABLED" OFF)
|
||||||
addDef( "TORQUE_TESTS_ENABLED" )
|
|
||||||
addDef( "_VARIADIC_MAX" 10 )
|
|
||||||
|
|
||||||
# Add source files
|
if(TORQUE_TESTS_ENABLED)
|
||||||
addPathRec( "${srcDir}/testing" )
|
|
||||||
|
|
||||||
# Add include paths
|
# Project defines
|
||||||
addInclude( "${libDir}/gtest/fused-src/" )
|
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)
|
addDef(TORQUE_DEDICATED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
include( "modules/module_testing.cmake" )
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# platform specific things
|
# platform specific things
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue