Enable cmake for model
This commit is contained in:
parent
674563203b
commit
9fbd4e0fed
8 changed files with 23 additions and 10 deletions
8
src/Model/CMakeLists.txt
Normal file
8
src/Model/CMakeLists.txt
Normal 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})
|
Loading…
Add table
Add a link
Reference in a new issue