aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..bfd19d7
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,23 @@
+# CMakeLists.txt for Uri
+#
+# © 2018 by Richard Walters
+
+cmake_minimum_required(VERSION 3.8)
+set(This Uri)
+
+set(Headers
+ include/Uri/Uri.hpp
+)
+
+set(Sources
+ src/Uri.cpp
+)
+
+add_library(${This} STATIC ${Sources} ${Headers})
+set_target_properties(${This} PROPERTIES
+ FOLDER Libraries
+)
+
+target_include_directories(${This} PUBLIC include)
+
+add_subdirectory(test)