mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Make torque3d.cmake load all .cmake files from the module folder.
Move option code to each individual module. This makes it so you can add a new module without having to modify the torque3d.cmake
This commit is contained in:
parent
5103ba22e2
commit
f527b45ec2
5 changed files with 73 additions and 80 deletions
|
|
@ -20,9 +20,10 @@
|
|||
# IN THE SOFTWARE.
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
option(TORQUE_TESTS_ENABLED "TORQUE_TESTS_ENABLED" OFF)
|
||||
option(TORQUE_TESTING "Enable unit test module" OFF)
|
||||
mark_as_advanced(TORQUE_TESTING)
|
||||
|
||||
if(TORQUE_TESTS_ENABLED)
|
||||
if(TORQUE_TESTING)
|
||||
|
||||
# Project defines
|
||||
addDef( "TORQUE_TESTS_ENABLED" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue