diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ce42d4d..78162e35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ set(SPIRV_CROSS_STATIC ON CACHE BOOL "Prefer static libs" FORCE) add_subdirectory(3rdparty/glslang) add_subdirectory(3rdparty/SPIRV-Cross) -set(TRACY_ENABLE ON CACHE BOOL "Enable Tracy" FORCE) +option(TRACY_ENABLE "Enable Tracy" OFF) if (TRACY_ENABLE) set(TRACY_ON_DEMAND ON CACHE BOOL "Enable profiling only connected" FORCE) diff --git a/build.gradle b/build.gradle index 3cdee6a5..4b1148d4 100644 --- a/build.gradle +++ b/build.gradle @@ -8,6 +8,12 @@ android { minSdk 26 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + +// externalNativeBuild { +// cmake { +// arguments "-DTRACY_ENABLE=ON" +// } +// } } buildTypes {