shooter/CMakeLists.txt

37 lines
969 B
CMake
Raw Normal View History

2021-09-13 15:53:43 +03:00
cmake_minimum_required(VERSION 3.17)
2024-05-24 16:10:23 +03:00
project(shooter_server)
2021-09-13 15:53:43 +03:00
set(CMAKE_CXX_STANDARD 20)
2021-10-09 13:41:12 +03:00
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
2021-09-13 15:53:43 +03:00
2022-02-23 07:51:53 +03:00
add_executable(${CMAKE_PROJECT_NAME}
2021-09-13 15:53:43 +03:00
# game:
2021-10-09 13:41:12 +03:00
Source.cpp
2022-07-19 12:37:37 +03:00
player/Player.cpp
player/Player.h
2022-07-19 12:35:14 +03:00
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
2022-07-19 12:37:37 +03:00
player/PlayerController.cpp
player/PlayerController.h
Shooter.cpp
Shooter.h
2021-10-17 08:35:12 +03:00
ShooterConsts.h
2022-07-19 12:35:14 +03:00
network/ShooterMsgType.h
network/ShooterMsgType.cpp
2023-05-21 16:34:55 +03:00
network/Chat.cpp
network/Chat.h
2023-08-03 01:48:04 +03:00
)
2021-10-30 15:23:47 +03:00
2023-08-03 01:48:04 +03:00
# include 3dzavr engine into our project
add_subdirectory(3dzavr/engine)
target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC 3DZAVR)