Przeglądaj źródła

cmake option

cmake option to enable the templated matrix class, this is still in review phase, if it gets merged into main, probably best to remove this options just in case someone activates it accidentally.
marauder2k7 1 rok temu
rodzic
commit
3b4ce5f4b5

+ 1 - 1
Tools/CMake/torqueConfig.h.in

@@ -32,7 +32,7 @@
 
 /// What's the name of your application? Used in a variety of places.
 #define TORQUE_APP_NAME            "@TORQUE_APP_NAME@"
-
+#cmakedefine USE_TEMPLATE_MATRIX
 /// What version of the application specific source code is this?
 ///
 /// Version number is major * 1000 + minor * 100 + revision * 10.

+ 1 - 1
Tools/CMake/torque_configs.cmake

@@ -73,7 +73,7 @@ advanced_option(TORQUE_ENABLE_ASSERTS "enables or disable asserts" OFF)
 advanced_option(TORQUE_TOOLS "Enable or disable the tools" ON)
 advanced_option(TORQUE_ENABLE_PROFILER "Enable or disable the profiler" OFF)
 advanced_option(TORQUE_SHOW_LEGACY_FILE_FIELDS "If on, shows legacy direct file path fields in the inspector." OFF)
-
+advanced_option(USE_TEMPLATE_MATRIX "Set to true to use the new templated matrix class(still in beta)." OFF)
 #testing
 advanced_option(TORQUE_TESTING "Unit test build" OFF)