Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.6)
- project(RegexUsage)
- find_package(Boost 1.57.0 COMPONENTS system filesystem REQUIRED)
- if(Boost_FOUND)
- message(STATUS "Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}")
- message(STATUS "Boost_LIBRARIES: ${Boost_LIBRARIES}")
- message(STATUS "Boost_VERSION: ${Boost_VERSION}")
- include_directories(${Boost_INCLUDE_DIRS})
- endif()
- add_executable(BoostTest main.cpp)
- if(Boost_FOUND)
- target_link_libraries(BoostTest ${Boost_LIBRARIES})
- endif()
- set(CMAKE_CXX_STANDARD 14)
- set(SOURCE_FILES main.cpp)
- add_executable(RegexUsage ${SOURCE_FILES})
Add Comment
Please, Sign In to add comment