Commit c8153cfd authored by Daniel Buckmaster's avatar Daniel Buckmaster

Merge pull request #731 from LuisAntonRebollo/fix_cmake_testing_module

Fix CMake testing module.
parents e09a0900 a030f471
# 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()
\ No newline at end of file
......@@ -325,6 +325,8 @@ if(TORQUE_DEDICATED)
addDef(TORQUE_DEDICATED)
endif()
include( "modules/module_testing.cmake" )
###############################################################################
# platform specific things
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment