1 Star 0 Fork 46

大鱼/mcs

forked from openEuler/mcs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 724 Bytes
一键复制 编辑 原始数据 按行查看 历史
cmake_minimum_required(VERSION 3.19)
project(openeuler_mica)
## set common FLAGS
set(CMAKE_SHARED_LINKER_FLAGS "-pthread")
set(CMAKE_C_FLAGS "-fstack-protector-all -O2 -Wall")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DDEBUG")
## Add dependencies
set(SHARED_LINK_LIBS
metal
open_amp
)
## Add headers
include_directories(
${CMAKE_SOURCE_DIR}/library/include
)
## rpc support multi workers
if(DEFINED MULTI_WORKERS)
add_definitions(-DMULTI_WORKERS)
endif()
## build MICA library
set(MICA_LIB mica)
add_subdirectory(${CMAKE_SOURCE_DIR}/library)
## build MICA client
add_subdirectory(${CMAKE_SOURCE_DIR}/mica)
## build testcase for debugging module
add_subdirectory(${CMAKE_SOURCE_DIR}/test/test_ring_buffer)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/hourenyu/mcs.git
git@gitee.com:hourenyu/mcs.git
hourenyu
mcs
mcs
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385