Skip to content

Commit 882dc7c

Browse files
Create CMakeLists.txt
1 parent 75c2804 commit 882dc7c

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

ShellDateSecBat/CMakeLists.txt

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

0 commit comments

Comments
 (0)