mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
* BugFix: Corrections to allow executables and libraries to build in the game directory without an install.
11 lines
370 B
CMake
11 lines
370 B
CMake
# AFX Module
|
|
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()
|