-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
28 lines (20 loc) · 940 Bytes
/
CMakeLists.txt
File metadata and controls
28 lines (20 loc) · 940 Bytes
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
cmake_minimum_required(VERSION 3.12)
# Change the project name here!
project(Multipunk LANGUAGES CXX)
# Properties.
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Variables.
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/libs")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
foreach(configuration ${CMAKE_CONFIGURATION_TYPES})
string(TOLOWER ${configuration} configuration_lower)
string(TOUPPER ${configuration} configuration_upper)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_${configuration_upper} "${CMAKE_BINARY_DIR}/${configuration_lower}/libs")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_${configuration_upper} "${CMAKE_BINARY_DIR}/${configuration_lower}/bin")
endforeach()
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
include_directories("deps/red4ext.sdk/include")
include_directories("deps/cyber_engine_tweaks/src")
add_subdirectory(src)