-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
executable file
·20 lines (16 loc) · 880 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
executable file
·20 lines (16 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cmake_minimum_required(VERSION 3.24)
project(tic_tac)
set(CMAKE_CXX_STANDARD 17)
set(SFML_LIBRARY_G /usr/lib/x86_64-linux-gnu/libsfml-graphics.so)
set(SFML_LIBRARY_W /usr/lib/x86_64-linux-gnu/libsfml-window.so)
set(SFML_LIBRARY_S /usr/lib/x86_64-linux-gnu/libsfml-system.so)
add_executable(tic_tac
main.cpp
Game/Game.cpp Game/Game.h
Game/Background/Background.cpp Game/Background/Background.h
Game/GameObjects/Grid/Grid.cpp Game/GameObjects/Grid/Grid.h
Game/GameObjects/gameObject.cpp Game/GameObjects/gameObject.h
Game/GameObjects/O_obj/O_obj.cpp Game/GameObjects/O_obj/O_obj.h
Game/GameObjects/X_obj/X_obj.cpp Game/GameObjects/X_obj/X_obj.h
Game/Text/Text.cpp)
target_link_libraries(tic_tac ${SFML_LIBRARY_G} ${SFML_LIBRARY_W} ${SFML_LIBRARY_S})