1 Star 3 Fork 1

wkh/MgrSystem

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
wkh 提交于 2021-10-03 19:11 . fix 前端页面bug
cmake_minimum_required(VERSION 3.4)
project(MgrSystem)
include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR}/include/servlet)
include_directories(${CMAKE_SOURCE_DIR}/include/module)
include_directories(${CMAKE_SOURCE_DIR}/server_frame/include)
include_directories(${CMAKE_SOURCE_DIR}/server_frame/include/base)
include_directories(${CMAKE_SOURCE_DIR}/server_frame/include/net)
include_directories(${CMAKE_SOURCE_DIR}/server_frame/include/http)
include_directories(${CMAKE_SOURCE_DIR}/server_frame/thirdparty/include)
add_subdirectory(${CMAKE_SOURCE_DIR}/server_frame)
link_directories(${CMAKE_SOURCE_DIR}/server_frame/thridparty/lib)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin/module/)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
set(CMAKE_CXX_FLAGS "-std=c++17 -g -rdynamic")
aux_source_directory(./src/module src_module)
aux_source_directory(./src/util src_util)
aux_source_directory(./src/servlet src_servlet)
message(${LIBRARY_OUTPUT_PATH})
add_executable(json_test test/json_test.cpp)
add_executable(chrono_test test/chrono_test.cpp)
add_library(MgrSystem SHARED src/module/MgrModule.cpp ${src_util} ${src_servlet} )
#add_library(TestModule SHARED src/module/TestModule.cpp ${src_util})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wkhgit/mgr-system.git
[email protected]:wkhgit/mgr-system.git
wkhgit
mgr-system
MgrSystem
master

搜索帮助