mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
* Feature: Begin working the new engine module system.
This commit is contained in:
parent
9901fa76b4
commit
dfc03da9d9
10 changed files with 133 additions and 28 deletions
11
Tools/CMake/modules/tools.cmake
Normal file
11
Tools/CMake/modules/tools.cmake
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Bullet module
|
||||
option(TORQUE_TOOLS "Enable Torque Tools" ON)
|
||||
|
||||
if(TORQUE_TOOLS)
|
||||
message("Enabling Torque Tools Module")
|
||||
|
||||
file(GLOB TORQUE_TOOLS_SOURCES "gui/editor/*.cpp" "gui/worldEditor/*.cpp" "gui/worldEditor/tools/*.cpp"
|
||||
"gui/editor/inspector/*.cpp")
|
||||
set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_TOOLS_SOURCES})
|
||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_TOOLS)
|
||||
endif(TORQUE_PHYSICS_BULLET)
|
||||
Loading…
Add table
Add a link
Reference in a new issue