From 3b4ce5f4b5aaf63f28bf797240ad924a89a8f3e1 Mon Sep 17 00:00:00 2001 From: marauder2k7 Date: Thu, 1 Aug 2024 18:29:38 +0100 Subject: [PATCH] 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. --- Tools/CMake/torqueConfig.h.in | 2 +- Tools/CMake/torque_configs.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/CMake/torqueConfig.h.in b/Tools/CMake/torqueConfig.h.in index 39b9a7c03e..717c05eb1a 100644 --- a/Tools/CMake/torqueConfig.h.in +++ b/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. diff --git a/Tools/CMake/torque_configs.cmake b/Tools/CMake/torque_configs.cmake index 7cfbd2f6b1..6a8888826a 100644 --- a/Tools/CMake/torque_configs.cmake +++ b/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)