forked from PazerOP/tf2_bot_detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (23 loc) · 843 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
cmake_minimum_required(VERSION 3.17)
option(TF2BD_ENABLE_DISCORD_INTEGRATION "Enable discord integration" on)
option(TF2BD_ENABLE_TESTS "Enable test compilation" off)
include(cmake/init-preproject.cmake)
project(tf2_bot_detector)
include(cmake/init-postproject.cmake)
# apparent bug in VS 16.9.1 makes error messages unclickable because of wrong paths
if (MSVC)
add_compile_options(/FC)
endif()
set(MH_STUFF_BUILD_SHARED_LIBS ON)
add_subdirectory(submodules/mh_stuff)
set_warning_level(3)
add_subdirectory(submodules/ValveFileVDF)
add_subdirectory(submodules/SourceRCON)
add_subdirectory(submodules/glad2)
add_subdirectory(submodules/imgui_desktop)
add_subdirectory(tf2_bot_detector_common)
if (WIN32)
add_subdirectory(tf2_bot_detector_winrt)
endif()
# add_subdirectory(tf2_bot_detector_updater)
add_subdirectory(tf2_bot_detector)