std::string_view 的使用
This commit is contained in:
+32
-41
@@ -4,64 +4,59 @@
|
||||
# 加载子项目
|
||||
function(_load_sub_proj)
|
||||
get_filename_component(PARENT_DIR ${CMAKE_SOURCE_DIR} DIRECTORY)
|
||||
if(A_enable_register_library)
|
||||
if (A_enable_register_library)
|
||||
return()
|
||||
endif()
|
||||
endif ()
|
||||
_load_proj_impl("${PARENT_DIR}/projects" ${ARGN})
|
||||
endfunction()
|
||||
|
||||
# 加载核心项目
|
||||
function(_load_core_proj)
|
||||
get_filename_component(PARENT_DIR ${CMAKE_SOURCE_DIR} DIRECTORY)
|
||||
if(A_enable_register_library)
|
||||
if (A_enable_register_library)
|
||||
return()
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
|
||||
_load_proj_impl("${PARENT_DIR}/core_library" ${ARGN})
|
||||
endfunction()
|
||||
|
||||
|
||||
|
||||
|
||||
_load_core_proj(Core)
|
||||
if(CMAKE_HOST_WIN32)
|
||||
if (CMAKE_HOST_WIN32)
|
||||
|
||||
|
||||
if (WIN32)
|
||||
|
||||
if (0)
|
||||
_load_sub_proj(python_get_line)
|
||||
endif ()
|
||||
if (0)
|
||||
_load_sub_proj(WDK_Test)
|
||||
endif ()
|
||||
|
||||
# _load_sub_proj(Vulkan_Chart)
|
||||
# _load_sub_proj(opengl)
|
||||
|
||||
if(WIN32)
|
||||
endif ()
|
||||
|
||||
if(0)
|
||||
_load_sub_proj(python_get_line)
|
||||
endif()
|
||||
if(0)
|
||||
_load_sub_proj(WDK_Test)
|
||||
endif()
|
||||
|
||||
# _load_sub_proj(Vulkan_Chart)
|
||||
# _load_sub_proj(opengl)
|
||||
|
||||
endif()
|
||||
|
||||
if(0)
|
||||
if (1)
|
||||
_load_core_proj(YSGraphic_Core)
|
||||
|
||||
_load_sub_proj(
|
||||
YSGraphic
|
||||
)
|
||||
#
|
||||
# _load_core_proj(Simple_Tier)
|
||||
endif()
|
||||
#
|
||||
# _load_core_proj(Simple_Tier)
|
||||
endif ()
|
||||
|
||||
|
||||
set(ecap_rely drogon libarchive SQLiteCpp)
|
||||
|
||||
library_is_installed_with_rely(global ok ${ecap_rely})
|
||||
library_is_installed_with_rely(global ok ${ecap_rely})
|
||||
|
||||
if(${ok})
|
||||
if(NOT MINGW)
|
||||
if (${ok})
|
||||
if (NOT MINGW)
|
||||
_load_core_proj(SSR)
|
||||
|
||||
_load_sub_proj(
|
||||
@@ -69,35 +64,31 @@ endif()
|
||||
)
|
||||
|
||||
_add_directory_to_clion(${CMAKE_SOURCE_DIR}/../projects/webapp)
|
||||
endif()
|
||||
endif ()
|
||||
else ()
|
||||
message("ECAP_Server 依赖未安装!")
|
||||
rcl_add_dependency_action_targets("ecap_server_env" ${ecap_rely})
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
#_load_sub_proj(reverse_engineering)
|
||||
|
||||
if(0)
|
||||
if (0)
|
||||
# _add_directory_to_clion(C:/Users/wyc/Desktop/cheng_du_env)
|
||||
|
||||
_add_directory_to_clion(D:/wyc/Environment/codex)
|
||||
# _add_directory_to_clion(C:/msys64/var/cache/pacman/pkg)
|
||||
_add_directory_to_clion(D:/wyc/Environment/jetbra)
|
||||
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
# _load_sub_proj(
|
||||
# linux_driver
|
||||
# )
|
||||
endif()
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
# _load_sub_proj(
|
||||
# linux_driver
|
||||
# )
|
||||
endif ()
|
||||
|
||||
|
||||
#_create_linux_driver_proj(ecap_server)
|
||||
|
||||
Reference in New Issue
Block a user