-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakeLists.txt
33 lines (23 loc) · 1.07 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
cmake_minimum_required(VERSION 3.0)
add_executable(swe1r-patcher main.c)
if (WIN32)
add_executable(swe1r-loader main.c)
target_compile_definitions(swe1r-loader PUBLIC -DLOADER=1)
add_library(dinput SHARED main.c dinput.def)
set_target_properties(dinput PROPERTIES PREFIX "")
target_compile_definitions(dinput PUBLIC -DLOADER=1 -DDLL=1)
endif()
# font0
configure_file(textures/font0_0_test.data textures/font0_0_test.data COPYONLY)
# font1
configure_file(textures/font1_0_test.data textures/font1_0_test.data COPYONLY)
configure_file(textures/font1_1_test.data textures/font1_1_test.data COPYONLY)
configure_file(textures/font1_2_test.data textures/font1_2_test.data COPYONLY)
# font2 (font2_0 is the same as font1_2)
configure_file(textures/font1_2_test.data textures/font2_0_test.data COPYONLY)
# font3 (font3_0 is the same as font1_2)
configure_file(textures/font1_2_test.data textures/font3_0_test.data COPYONLY)
# font4
configure_file(textures/font4_0_test.data textures/font4_0_test.data COPYONLY)
# README.md
configure_file(README.md README.txt NEWLINE_STYLE CRLF)