cmake

作者: 遇见你_17be | 来源:发表于2019-01-11 11:12 被阅读0次

root@ubuntu:~/boost-test/asio/udp-recv# cat CMakeLists.txt

cmake_minimum_required(VERSION 2.8.3)

project(test)

find_package(Boost REQUIRED COMPONENTS system thread)

include_directories(${Boost_INCLUDE_DIRS})

add_executable(test main.cpp)

target_link_libraries(test ${Boost_LIBRARIES})

相关文章

网友评论

      本文标题:cmake

      本文链接:https://www.haomeiwen.com/subject/wkotdqtx.html