适配 build_infra
This commit is contained in:
+2
-2
@@ -8,8 +8,8 @@ if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_LIST_DIR})
|
||||
include(third_party/build_infra/start.cmake)
|
||||
include(third_party/CPP_Core/main.cmake)
|
||||
include(third_party/SSR/main.cmake)
|
||||
set(ecap_rely drogon libarchive SQLiteCpp)
|
||||
library_is_installed_with_rely(global ok ${ecap_rely})
|
||||
set(ecap_rely global::drogon global::libarchive global::SQLiteCpp)
|
||||
library_is_installed_with_rely(ok ${ecap_rely})
|
||||
if (${ok})
|
||||
include(${CMAKE_SOURCE_DIR}/main.cmake)
|
||||
else ()
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
get_filename_component(name ${CMAKE_CURRENT_LIST_DIR} NAME)
|
||||
set(rely libarchive SQLiteCpp)
|
||||
rcl_load_dependency_environment(drogon ${rely})
|
||||
set(rely global::drogon global::libarchive global::SQLiteCpp)
|
||||
rcl_load_dependency_environment(${rely})
|
||||
|
||||
#message("222222222 LibArchive_SUB_LIBRARIES {${LibArchive_SUB_LIBRARIES}}")
|
||||
|
||||
@@ -137,7 +137,7 @@ if (1)
|
||||
_attach_source_dir(test_drogon "${md}/test_drogon")
|
||||
target_link_libraries(test_drogon PRIVATE Drogon::Drogon)
|
||||
endif ()
|
||||
rcl_unload_dependency_environment(drogon ${rely})
|
||||
rcl_unload_dependency_environment(${rely})
|
||||
#include("${CMAKE_SOURCE_DIR}/0_cmake_library/ninja_build_analyze/export.cmake")
|
||||
#
|
||||
#register_ninja_build_analyze_target(
|
||||
|
||||
Reference in New Issue
Block a user