File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ project({PROJECT_NAME} VERSION 1.0.0)
2929
3030# Common configuration
3131set(LGL_LOG_TAG "{LAYER_NAME}")
32+ set(LGL_CONFIG_TRACE 0)
33+ set(LGL_CONFIG_LOG 1)
34+
3235include(../source_common/compiler_helper.cmake)
3336
3437# Build steps
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ project(VkLayerExample VERSION 1.0.0)
2929
3030# Common configuration
3131set (LGL_LOG_TAG "VkLayerExample" )
32+ set (LGL_CONFIG_TRACE 1)
33+ set (LGL_CONFIG_LOG 1)
34+
3235include (../source_common/compiler_helper.cmake)
3336
3437# Build steps
Original file line number Diff line number Diff line change @@ -71,5 +71,7 @@ macro(lgl_set_build_options BUILD_TARGET_NAME)
7171 target_compile_definitions (
7272 ${BUILD_TARGET_NAME} PRIVATE
7373 $<$<PLATFORM_ID:Android>:VK_USE_PLATFORM_ANDROID_KHR=1>
74- $<$<PLATFORM_ID:Android>:LGL_LOG_TAG="${LGL_LOG_TAG} " >)
74+ $<$<PLATFORM_ID:Android>:LGL_LOG_TAG="${LGL_LOG_TAG} " >
75+ CONFIG_TRACE=${LGL_CONFIG_TRACE}
76+ CONFIG_LOG=${LGL_CONFIG_LOG} )
7577endmacro ()
You can’t perform that action at this time.
0 commit comments