mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-27 08:09:31 +00:00
Fix CMake testing module.
This commit is contained in:
parent
e09a09005d
commit
a030f47178
2 changed files with 15 additions and 7 deletions
|
|
@ -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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue