mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #731 from LuisAntonRebollo/fix_cmake_testing_module
Fix CMake testing module.
This commit is contained in:
commit
c8153cfd29
|
|
@ -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