-
Notifications
You must be signed in to change notification settings - Fork 12
/
CMakeLists.txt
41 lines (28 loc) · 1.04 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cmake_minimum_required(VERSION 3.8.2)
project(CellularAutomaton)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})
find_package(SFML 2.4 REQUIRED graphics window system)
set(SOURCES
Source/BriansBrain/BriansBrain.cpp
Source/GameOfLife/GameOfLife.cpp
Source/LangtonsAnt/Ant.cpp
Source/LangtonsAnt/LangtonsAnt.cpp
Source/Native/Win32.cpp
Source/Native/Unix.cpp
Source/PredatorAndPrey/Creature.cpp
Source/PredatorAndPrey/PredatorAndPrey.cpp
Source/WireWorld/LineInputMode.cpp
Source/WireWorld/PointInputMode.cpp
Source/WireWorld/WireWorld.cpp
#Source/Empire/Empire.cpp
Source/ResourceManager/ResourceHolder.cpp
Source/Util/FPSCounter.cpp
Source/Util/Random.cpp
Source/Application.cpp
Source/CellularAutomaton.cpp
Source/Keyboard.cpp
Source/Main.cpp
)
add_executable(cellular_automaton ${SOURCES})
set_property(TARGET cellular_automaton PROPERTY CXX_STANDARD 17)
target_link_libraries(cellular_automaton ${SFML_LIBRARIES} ${SFML_DEPENDENCIES})