This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
CMakeLists.txt
137 lines (129 loc) · 3.52 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
cmake_minimum_required(VERSION 2.8)
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if(DEFINED ENV{VITASDK})
set(CMAKE_TOOLCHAIN_FILE "$ENV{VITASDK}/share/vita.toolchain.cmake" CACHE PATH "toolchain file")
else()
message(FATAL_ERROR "Please define VITASDK to point to your SDK path!")
endif()
endif()
project(ftpclient)
include("${VITASDK}/share/vita.cmake" REQUIRED)
set(VITA_APP_NAME "Ftp Client")
set(VITA_TITLEID "FTPCLI001")
set(VITA_VERSION "01.54")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
include_directories(
src
)
add_executable(${PROJECT_NAME}
src/textures.cpp
src/fs.cpp
src/main.cpp
src/inifile.c
src/config.cpp
src/ime_dialog.cpp
src/net.cpp
src/ftpclient.cpp
src/vitaaudiolib.c
src/gui.cpp
src/windows.cpp
src/actions.cpp
src/updater.cpp
src/lang.cpp
src/sfo.cpp
src/audio.c
src/ogg.c
src/sha1.c
src/zip.c
src/unzip.c
src/ioapi.c
src/debugScreen.c
)
target_link_libraries(${PROJECT_NAME}
imgui
vorbisfile
vorbis
ogg
vita2d
vitaGL
vitashark
mathneon
png
stdc++
ssl
crypto
c
z
SceCommonDialog_stub
SceLibKernel_stub
SceDisplay_stub
SceKernelDmacMgr_stub
SceGxm_stub
SceSysmodule_stub
SceVshBridge_stub
SceCtrl_stub
SceTouch_stub
SceAudio_stub
SceHid_stub
SceNet_stub
SceNetCtl_stub
SceHttp_stub
SceSsl_stub
ScePspnetAdhoc_stub
ScePromoterUtil_stub
SceShellSvc_stub
ScePower_stub
m
SceAppMgr_stub
SceAppUtil_stub
SceShaccCg_stub
)
vita_create_self(eboot.bin ${PROJECT_NAME} UNSAFE)
vita_create_vpk(${PROJECT_NAME}.vpk ${VITA_TITLEID} eboot.bin
VERSION ${VITA_VERSION}
NAME ${VITA_APP_NAME}
FILE sce_sys/icon0.png sce_sys/icon0.png
FILE sce_sys/livearea/contents/bg.png sce_sys/livearea/contents/bg.png
FILE sce_sys/livearea/contents/startup.png sce_sys/livearea/contents/startup.png
FILE sce_sys/livearea/contents/template.xml sce_sys/livearea/contents/template.xml
FILE default_style.ini default_style.ini
FILE head.bin head.bin
FILE music.ogg music.ogg
FILE icons/connect.png icons/connect.png
FILE icons/disconnect.png icons/disconnect.png
FILE icons/search.png icons/search.png
FILE icons/refresh.png icons/refresh.png
FILE icons/square.png icons/square.png
FILE icons/circle.png icons/circle.png
FILE icons/triangle.png icons/triangle.png
FILE icons/cross.png icons/cross.png
FILE icons/folder.png icons/folder.png
FILE icons/file.png icons/file.png
FILE icons/update.png icons/update.png
FILE icons/catalog.png icons/catalog.png
FILE lang/English.ini lang/English.ini
FILE lang/Spanish.ini lang/Spanish.ini
FILE lang/Dutch.ini lang/Dutch.ini
FILE lang/French.ini lang/French.ini
FILE lang/German.ini lang/German.ini
FILE lang/Italiano.ini lang/Italiano.ini
FILE lang/Polish.ini lang/Polish.ini
FILE lang/Portuguese_BR.ini lang/Portuguese_BR.ini
FILE lang/Russian.ini lang/Russian.ini
FILE lang/Korean.ini lang/Korean.ini
FILE lang/Chinese_Simplified.ini lang/Chinese_Simplified.ini
FILE lang/Chinese_Traditional.ini lang/Chinese_Traditional.ini
FILE lang/Japanese.ini lang/Japanese.ini
FILE lang/Catalan.ini lang/Catalan.ini
FILE lang/Euskera.ini lang/Euskera.ini
FILE lang/Galego.ini lang/Galego.ini
FILE lang/Croatian.ini lang/Croatian.ini
FILE lang/Indonesian.ini lang/Indonesian.ini
FILE lang/Ryukyuan.ini lang/Ryukyuan.ini
FILE lang/Arabic.ini lang/Arabic.ini
FILE lang/Greek.ini lang/Greek.ini
FILE lang/Turkish.ini lang/Turkish.ini
FILE lang/Thai.ini lang/Thai.ini
FILE lang/Roboto_ext.ttf lang/Roboto_ext.ttf
FILE version.txt version.txt
)