1 Star 1 Fork 1

木鹿/http_server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
dhtesty 提交于 2022-10-27 14:06 . init
cmake_minimum_required(VERSION 3.22)
project(HttpServer)
include_directories(
D:/Opensource/openssl/include
D:/Opensource/drogon/lib/inc
D:/Opensource/drogon/trantor
D:/Opensource/drogon/orm_lib/inc
D:/Opensource/drogon/nosql_lib/redis/inc
D:/Opensource/jsoncpp/include
D:/Opensource/zlib
D:/Opensource/boost_1_78_0/
"D:/Program Files/MATLAB/R2017b/extern/include"
"D:/Opensource/Python-3.10.2/Include"
#"D:/Program Files/Python38/include"
)
link_directories(
D:/Opensource/libevent/build/lib
D:/Opensource/openssl
D:/Opensource/drogon/build
D:/Opensource/drogon/build/trantor
D:/Opensource/jsoncpp/build/lib
D:/Opensource/SqliteCPP/build/sqlite3
D:/Opensource/zlib/build
"D:/Program Files/MATLAB/R2017b/extern/lib/win64/mingw64"
"D:/Opensource/Python-3.10.2/PCbuild/amd64"
#"D:/Program Files/Python38/libs"
)
if(MSVC)
add_compile_options(/std:c++20)
else()
add_compile_options(-std=c++20)
endif()
add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS -DPy_NO_ENABLE_SHARED)
file(GLOB code_http . "*.h" "*.cpp")
add_executable(HttpServer ${code_http})
target_link_libraries(HttpServer ws2_32.lib libssl_static.lib libcrypto_static.lib Rpcrt4.lib crypt32.lib
jsoncpp_static.lib zlibstatic.lib drogon.lib trantor.lib libeng.lib python310_d.lib version.lib;ws2_32.lib;pathcch.lib
libboost_locale-clangw14-mt-gd-x64-1_78.lib libboost_filesystem-clangw14-mt-gd-x64-1_78.lib
D:/Opensource/SqliteCPP/build/sqlite3/sqlite3.lib)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/sofu456/http_server.git
git@gitee.com:sofu456/http_server.git
sofu456
http_server
http_server
master

搜索帮助