wut/samples/helloworld/CMakeLists.txt

18 lines
369 B
CMake
Raw Normal View History

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)
2018-05-25 18:23:11 +02:00
add_executable(helloworld
main.c)
target_link_libraries(helloworld
2018-05-25 12:48:37 +02:00
whb
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}")