summaryrefslogtreecommitdiff
path: root/src/Model/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/CMakeLists.txt')
-rw-r--r--src/Model/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Model/CMakeLists.txt b/src/Model/CMakeLists.txt
new file mode 100644
index 0000000..c9cfb6e
--- /dev/null
+++ b/src/Model/CMakeLists.txt
@@ -0,0 +1,8 @@
+#Retrieve crypto++ libraries
+get_property(SFML_LIBRARIES GLOBAL PROPERTY SFML_LIBRARIES)
+
+#Make CryptClass lib
+add_library(Model ./Cell.cpp ./Game.cpp ./Grid.cpp)
+
+#Add crypto++ to CryptClass
+target_link_libraries(Model ${SFML_LIBRARIES})