mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Phase 3: Adjust cmake files to add #define to torque config
This commit is contained in:
parent
b8f722e2f9
commit
cd6947c7e0
2 changed files with 6 additions and 4 deletions
|
|
@ -20,8 +20,7 @@
|
||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
option(TORQUE_AFX "Enable AFX module" ON)
|
option(TORQUE_AFX_ENABLED "Enable AFX module" ON)
|
||||||
if(TORQUE_AFX)
|
if(TORQUE_AFX_ENABLED)
|
||||||
# files
|
addPathRec( "${srcDir}/afx" )
|
||||||
addPathRec( "${srcDir}/afx" )
|
|
||||||
endif()
|
endif()
|
||||||
|
|
@ -41,6 +41,9 @@
|
||||||
/// Human readable application version string.
|
/// Human readable application version string.
|
||||||
#define TORQUE_APP_VERSION_STRING "@TORQUE_APP_VERSION_STRING@"
|
#define TORQUE_APP_VERSION_STRING "@TORQUE_APP_VERSION_STRING@"
|
||||||
|
|
||||||
|
/// Define me if you want to enable Arcane FX support.
|
||||||
|
#cmakedefine TORQUE_AFX_ENABLED
|
||||||
|
|
||||||
/// Define me if you want to enable multithreading support.
|
/// Define me if you want to enable multithreading support.
|
||||||
#cmakedefine TORQUE_MULTITHREAD
|
#cmakedefine TORQUE_MULTITHREAD
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue