mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 02:24:16 +01:00
cmake: Cleanup cmake based samples.
This commit is contained in:
parent
92cedbe684
commit
6d63b6cf2d
@ -5,16 +5,8 @@ include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
add_executable(custom_default_heap
|
||||
main.c)
|
||||
|
||||
target_link_libraries(custom_default_heap
|
||||
whb
|
||||
proc_ui
|
||||
sysapp)
|
||||
|
||||
wut_add_exports(custom_default_heap
|
||||
exports.def)
|
||||
|
||||
wut_create_rpx(custom_default_heap.rpx
|
||||
custom_default_heap)
|
||||
wut_add_exports(custom_default_heap exports.def)
|
||||
wut_create_rpx(custom_default_heap.rpx custom_default_heap)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/custom_default_heap.rpx"
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
|
@ -5,14 +5,6 @@ include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
add_executable(gx2_triangle
|
||||
main.c)
|
||||
|
||||
target_link_libraries(gx2_triangle
|
||||
whb
|
||||
gfd
|
||||
gx2
|
||||
proc_ui
|
||||
nsysnet
|
||||
sysapp)
|
||||
|
||||
wut_create_rpx(gx2_triangle.rpx gx2_triangle)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gx2_triangle.rpx"
|
||||
|
@ -5,12 +5,6 @@ include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
add_executable(helloworld
|
||||
main.c)
|
||||
|
||||
target_link_libraries(helloworld
|
||||
whb
|
||||
coreinit
|
||||
proc_ui
|
||||
sysapp)
|
||||
|
||||
wut_create_rpx(helloworld.rpx helloworld)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/helloworld.rpx"
|
||||
|
@ -5,13 +5,6 @@ include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
add_executable(helloworld_cpp
|
||||
main.cpp)
|
||||
|
||||
target_link_libraries(helloworld_cpp
|
||||
whb
|
||||
coreinit
|
||||
proc_ui
|
||||
sysapp
|
||||
nn_ac)
|
||||
|
||||
wut_create_rpx(helloworld_cpp.rpx
|
||||
helloworld_cpp)
|
||||
|
||||
|
@ -5,11 +5,8 @@ include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
add_executable(my_first_rpl
|
||||
my_first_rpl.c)
|
||||
|
||||
wut_add_exports(my_first_rpl
|
||||
exports.def)
|
||||
|
||||
wut_create_rpl(my_first_rpl.rpl
|
||||
my_first_rpl)
|
||||
wut_add_exports(my_first_rpl exports.def)
|
||||
wut_create_rpl(my_first_rpl.rpl my_first_rpl)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/my_first_rpl.rpl"
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
|
@ -5,19 +5,7 @@ include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
add_executable(swkbd
|
||||
main.cpp)
|
||||
|
||||
target_link_libraries(swkbd
|
||||
whb
|
||||
gx2
|
||||
coreinit
|
||||
proc_ui
|
||||
sysapp
|
||||
nsysnet
|
||||
nn_ac
|
||||
nn_swkbd
|
||||
vpad)
|
||||
|
||||
wut_create_rpx(swkbd_sample.rpx
|
||||
swkbd)
|
||||
wut_create_rpx(swkbd_sample.rpx swkbd)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/swkbd_sample.rpx"
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
|
Loading…
Reference in New Issue
Block a user