代码拉取完成,页面将自动刷新
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})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。