-
Notifications
You must be signed in to change notification settings - Fork 63
/
CMakeLists.txt
68 lines (55 loc) · 1.87 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(Utopia VERSION 0.0.6)
message(STATUS "[Project] ${PROJECT_NAME}")
include(cmake/InitUCMake.cmake)
Ubpa_InitUCMake(VERSION 0.6.4)
Ubpa_InitProject()
set(Ubpa_USRefl_Build_AutoRefl TRUE CACHE BOOL "use auto refl" FORCE)
Ubpa_AddDep(URapidJSON 0.0.4)
Ubpa_AddDep(UVisitor 0.1.0)
Ubpa_AddDep(UGM 0.7.6)
Ubpa_AddDep(UECS 0.17.0)
Ubpa_AddDep(UDX12 0.2.1)
Ubpa_AddDep(UDRefl 0.11.0)
Ubpa_AddDep(UANTLR 0.3.0)
Ubpa_AddDep(USignal 0.3.2)
Ubpa_DownloadZip(
https://udata-1308066321.cos.ap-guangzhou.myqcloud.com/crossguid_20200919.zip
crossguid_20200919.zip
SHA256 1BEE5F2424612E3EF3684D139D6038EF2420EAC7687BF210057E752EFE2A05D5
)
Ubpa_DownloadZip(
https://udata-1308066321.cos.ap-guangzhou.myqcloud.com/imgui_dock_1_86_1.zip
imgui_dock_1_86_1.zip
SHA256 A5836CAA484B236AA8F6489F9FAD3D1E861F000554D843ACEB57E6A1F4DCFC14
)
Ubpa_DownloadZip(
https://udata-1308066321.cos.ap-guangzhou.myqcloud.com/imgui_node_editor_20220116_d79ebde.zip
imgui_node_editor_20220116_d79ebde.zip
SHA256 764E0DBB311B6D137CE47408670C10100062A1534EE1804E0C0CF5B9488AC825
)
Ubpa_DownloadZip(
https://udata-1308066321.cos.ap-guangzhou.myqcloud.com/Utopia_spdlog_1_9_2_20211227.zip
Utopia_spdlog_1_9_2_20211227.zip
SHA256 3EA64433EE71EEE0F4EC02D877E137DC7C0CD2DDEECE3610E6B06C961895BA84
)
Ubpa_DownloadZip(
https://udata-1308066321.cos.ap-guangzhou.myqcloud.com/assets_internal_pngs_20220219.zip
assets_internal_pngs_20220219.zip
SHA256 39e629196f462c6de75c964203e068bde3d5120d72ad4d9a921d7b9f32dd7df6
)
if(Ubpa_BuildTest_Utopia)
find_package(GTest QUIET)
if(GTest_FOUND)
message(NOTICE "GTest Found")
else()
message(NOTICE "GTest not Found, so we ignore some targets depending on GTest")
endif()
endif()
Ubpa_AddSubDirsRec(include)
Ubpa_AddSubDirsRec(src)
Ubpa_Export(
TARGET
DIRECTORIES
"include"
)