refact: add test-coverage.sh and some docs

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-08-14 16:30:16 +08:00
committed by Comix
parent c4c1d72568
commit de09f3dbc2
12 changed files with 89 additions and 28 deletions

View File

@ -14,12 +14,17 @@ 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")
find_package(Qt6 REQUIRED COMPONENTS Core DBus Concurrent)
find_package(Threads REQUIRED)
set(APP_LAUNCH_HELPER_BIN app-launch-helper)
if(DEBUG_MODE)
add_compile_definitions(-DDEBUG_MODE)
endif()
add_subdirectory(src)
add_subdirectory(plugins)
add_subdirectory(apps)
@ -27,7 +32,6 @@ add_subdirectory(apps)
include(CTest)
if(BUILD_TESTING)
enable_testing()
add_subdirectory(tests)
endif()