Enable cmake for model

This commit is contained in:
manzerbredes 2015-04-29 19:34:01 +02:00
parent 674563203b
commit 9fbd4e0fed
8 changed files with 23 additions and 10 deletions

8
src/Model/CMakeLists.txt Normal file
View file

@ -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})