summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-08-28 15:19:31 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-08-28 15:19:31 +0200
commitd86042141ef0a0e77935f4b48d1a627fc1ec776b (patch)
tree4bc95d561c60306d1152f71aa53bd18d9229f172 /CMakeLists.txt
downloadconfigpp-d86042141ef0a0e77935f4b48d1a627fc1ec776b.tar.gz
configpp-d86042141ef0a0e77935f4b48d1a627fc1ec776b.tar.bz2
configpp-d86042141ef0a0e77935f4b48d1a627fc1ec776b.zip
Initial commit, allows for storing simpel values and boost::hana adapted structs at "key"HEADmaster
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt27
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