代码拉取完成,页面将自动刷新
#CMake 最低版本号要求
cmake_minimum_required (VERSION 3.0)
# 项目信息
project(3rdparty_demos VERSION 1.0.0)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# 设置输出路径
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/output/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/output/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/output/)
find_package(glog REQUIRED)
# 添加自定义 cmake 文件
include(${CMAKE_SOURCE_DIR}/cmake/common.cmake)
# 添加子目录
add_subdirectory(examples/example_botan2)
add_subdirectory(examples/example_cpp_httplib)
add_subdirectory(examples/example_glog)
add_subdirectory(examples/example_hiredis)
add_subdirectory(examples/example_jsoncpp)
add_subdirectory(examples/example_libcurl)
add_subdirectory(examples/example_libevent)
add_subdirectory(examples/example_mongoose)
add_subdirectory(examples/example_mysql_capi)
add_subdirectory(examples/example_mysql_connector)
add_subdirectory(examples/example_nlohmann_json)
add_subdirectory(examples/example_paho_mqtt)
add_subdirectory(examples/example_pcap)
add_subdirectory(examples/example_protobuf)
add_subdirectory(examples/example_rdkafka)
add_subdirectory(examples/example_sqlite3)
add_subdirectory(examples/example_thrift)
add_subdirectory(examples/example_tinyxml2)
add_subdirectory(examples/example_websocketpp)
add_subdirectory(examples/example_yamlcpp)
add_subdirectory(examples/example_zeromq)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。