blob: 6b4b21fb0dfc15eaa791e9dfbfd72d02c964f5c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#Defined executable
add_executable(
2P11
./main.cpp
)
#Find all libraries
find_package(SFML 2.2 COMPONENTS system window graphics audio REQUIRED)
set_property(GLOBAL PROPERTY SFML_LIBRARIES "${SFML_LIBRARIES}")
set_property(GLOBAL PROPERTY SFML_INCLUDE_DIR "${SFML_INCLUDE_DIR}")
#Include "Includes" and "Libraries"
include_directories(${SFML_INCLUDE_DIR})
target_link_libraries(2P11 ${SFML_LIBRARIES} Model ConsoleController View SFMLController)
add_subdirectory(./Model)
add_subdirectory(./Controllers/)
add_subdirectory(./View/)
add_subdirectory(./Helpers/)
|