Skip to content

Commit 75c2804

Browse files
Create CMakeLists.txt
1 parent 1b6ca4a commit 75c2804

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

ShellSecBat/CMakeLists.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
cmake_minimum_required(VERSION 2.8)
2+
3+
add_executable(shellsecbat
4+
${CMAKE_SOURCE_DIR}/main.c
5+
)
6+
7+
target_link_libraries(shellsecbat
8+
taihen_stub
9+
SceLibKernel_stub
10+
k
11+
gcc
12+
SceRtc_stub
13+
ScePower_stub
14+
SceKernelModulemgr_stub
15+
)
16+
17+
set_target_properties(shellsecbat
18+
PROPERTIES LINK_FLAGS "-nostdlib"
19+
)
20+
21+
vita_create_self(shellsecbat.suprx shellsecbat
22+
UNSAFE
23+
CONFIG ${CMAKE_SOURCE_DIR}/export.yml
24+
)

0 commit comments

Comments
 (0)