mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +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
9
Tools/CMake/modules/afx.cmake
Normal file
9
Tools/CMake/modules/afx.cmake
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
option(TORQUE_AFX_ENABLED "Enable AFX module" ON)
|
||||
|
||||
if(TORQUE_AFX_ENABLED)
|
||||
message("Enabling AFX Module")
|
||||
|
||||
file(GLOB_RECURSE TORQUE_SFX_SOURCES "${CMAKE_SOURCE_DIR}/Engine/source/afx/*.cpp")
|
||||
set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_SFX_SOURCES})
|
||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_AFX_ENABLED)
|
||||
endif()
|
||||
Loading…
Add table
Add a link
Reference in a new issue