mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +09:00
[Feat] (CMake): make TRACY_ENABLE as an option
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
@@ -8,6 +8,12 @@ android {
|
||||
minSdk 26
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
// externalNativeBuild {
|
||||
// cmake {
|
||||
// arguments "-DTRACY_ENABLE=ON"
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
||||
Reference in New Issue
Block a user