summaryrefslogtreecommitdiff
path: root/src/Model/CMakeLists.txt
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-04-29 19:34:01 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-04-29 19:34:01 +0200
commit9fbd4e0fedea42a206843981dffeb87095797581 (patch)
tree557c45099cb732ed298633d2a1a9e60bfe472998 /src/Model/CMakeLists.txt
parent674563203b5653238a2ae6ef4a0a267a7661607b (diff)
Enable cmake for model
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})