forked from ianpatt/skse64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
47 lines (35 loc) · 899 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
37
38
39
40
41
42
43
44
45
46
47
cmake_minimum_required(VERSION 3.18)
# ---- Project ----
project(
umbrella
LANGUAGES CXX
)
# ---- Include guards ----
if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
message(
FATAL_ERROR
"In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there."
)
endif()
# ---- Add sub projects ----
if (NOT TARGET skse64)
add_subdirectory(skse64)
endif()
if (NOT TARGET skse64_common)
add_subdirectory(skse64_common)
endif()
if (NOT TARGET skse64_loader)
add_subdirectory(skse64_loader)
endif()
if (NOT TARGET skse64_loader_common)
add_subdirectory(skse64_loader_common)
endif()
if (NOT TARGET skse64_steam_loader)
add_subdirectory(skse64_steam_loader)
endif()
if (NOT TARGET skse64_msstore_loader)
add_subdirectory(skse64_msstore_loader)
endif()
if (NOT TARGET skse64_msstore_stub)
add_subdirectory(skse64_msstore_stub)
endif()