From 9fbd4e0fedea42a206843981dffeb87095797581 Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Wed, 29 Apr 2015 19:34:01 +0200 Subject: Enable cmake for model --- src/Model/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/Model/CMakeLists.txt (limited to 'src/Model/CMakeLists.txt') 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}) -- cgit v1.2.3