-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
57 lines (45 loc) · 1.19 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
cmake_minimum_required (VERSION 3.10)
project (halley-launcher)
set(REQUIRE_WINDOWS_10 1)
set(HALLEY_PROJECT_EMBED 1)
set(HALLEY_PATH ${CMAKE_CURRENT_SOURCE_DIR}/halley)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${HALLEY_PATH}/cmake/")
include(HalleyProject)
set(USE_SSL 1)
if(NOT (DEFINED HALLEY_GAME_BIN_DIR))
set(HALLEY_GAME_BIN_DIR "bin")
endif()
set (SOURCES
"prec.cpp"
"src/choose_project.cpp"
"src/launch_project.cpp"
"src/launcher.cpp"
"src/launcher_save_data.cpp"
"src/launcher_stage.cpp"
"src/new_version_info.cpp"
"src/project_properties.cpp"
"src/settings.cpp"
"src/update.cpp"
)
set (HEADERS
"prec.h"
"src/choose_project.h"
"src/launch_project.h"
"src/launcher.h"
"src/launcher_save_data.h"
"src/launcher_stage.h"
"src/new_version_info.h"
"src/project_properties.h"
"src/settings.h"
"src/update.h"
)
if (MSVC)
set (RESOURCES
"res/halley-launcher.rc"
"res/resource.h"
"res/halley.ico"
)
endif ()
#include_directories(${FREETYPE_INCLUDE_DIR} "../tools/include")
halleyProject(halley-launcher "${SOURCES}" "${HEADERS}" "${RESOURCES}" "${GEN_DEFINITIONS}" ${CMAKE_CURRENT_SOURCE_DIR}/${HALLEY_GAME_BIN_DIR})
#target_link_libraries (halley-launcher halley-tools)