2017-03-23 13:17:00 +01:00
|
|
|
cmake_minimum_required(VERSION 3.2)
|
2018-05-25 18:23:11 +02:00
|
|
|
project(helloworld C)
|
2018-05-23 00:08:13 +02:00
|
|
|
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
2017-03-23 13:17:00 +01:00
|
|
|
|
2018-05-25 18:23:11 +02:00
|
|
|
add_executable(helloworld
|
|
|
|
main.c)
|
|
|
|
|
2017-03-23 13:17:00 +01:00
|
|
|
target_link_libraries(helloworld
|
2018-05-25 12:48:37 +02:00
|
|
|
whb
|
|
|
|
defaultheap
|
2018-05-23 00:08:13 +02:00
|
|
|
coreinit
|
|
|
|
proc_ui
|
|
|
|
sysapp)
|
2018-05-25 18:23:11 +02:00
|
|
|
|
2018-05-23 00:08:13 +02:00
|
|
|
wut_create_rpx(helloworld.rpx helloworld)
|
|
|
|
|
2018-05-25 18:23:11 +02:00
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/helloworld.rpx"
|
|
|
|
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|