-
Notifications
You must be signed in to change notification settings - Fork 20
/
CMakeLists.txt
36 lines (33 loc) · 962 Bytes
/
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
cmake_minimum_required(VERSION 3.17)
project(shooter)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
add_executable(${CMAKE_PROJECT_NAME}
# game:
Source.cpp
player/Player.cpp
player/Player.h
network/ShooterClient.cpp
network/ShooterClient.h
network/ShooterServer.cpp
network/ShooterServer.h
weapon/Weapon.cpp
weapon/Weapon.h
weapon/Ak47.h
weapon/Shotgun.h
weapon/Gun.h
weapon/Gold_Ak47.h
weapon/Rifle.h
player/PlayerController.cpp
player/PlayerController.h
Shooter.cpp
Shooter.h
ShooterConsts.h
network/ShooterMsgType.h
network/ShooterMsgType.cpp
network/Chat.cpp
network/Chat.h
)
# include 3dzavr engine into our project
add_subdirectory(3dzavr/engine)
target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC 3DZAVR)