refact: change DEBUG_MODE
to DDE_DEBUG_MODE
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -14,7 +14,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
|
||||
set(BUILD_EXAMPLES ON CACHE BOOL "Whether to build examples or not.")
|
||||
set(DEBUG_MODE ON CACHE BOOL "start a dde-applicatiom-manager service for debug")
|
||||
set(DDE_DDE_DEBUG_MODE ON CACHE BOOL "start a dde-applicatiom-manager service for debug")
|
||||
set(PROFILING_MODE OFF CACHE BOOL "run a valgrind performance profiling.")
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core DBus Concurrent)
|
||||
@ -22,8 +22,8 @@ find_package(Threads REQUIRED)
|
||||
|
||||
set(APP_LAUNCH_HELPER_BIN app-launch-helper)
|
||||
|
||||
if(DEBUG_MODE)
|
||||
add_compile_definitions(-DDEBUG_MODE)
|
||||
if(DDE_DEBUG_MODE)
|
||||
add_compile_definitions(-DDDE_DEBUG_MODE)
|
||||
endif()
|
||||
|
||||
if(PROFILING_MODE)
|
||||
|
Reference in New Issue
Block a user