diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..0d9ab6a --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,27 @@ + +cmake_minimum_required(VERSION 3.6.1) +#this is the my current development version, it could probably be lower. + +Project(configpp) + +find_package(Boost COMPONENTS filesystem REQUIRED) + +add_library(configpp SHARED + configpp.hpp configpp.cpp +) + +target_include_directories(configpp + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} +) + +target_link_libraries(configpp + PRIVATE Boost::boost + PRIVATE Boost::filesystem +) + +target_compile_options(configpp + PUBLIC -std=c++14 +) + +enable_testing() +add_subdirectory(tests)
\ No newline at end of file |
