mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 17:51:53 +01:00
19 lines
384 B
CMake
19 lines
384 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(helloworld C)
|
|
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
|
|
|
add_executable(helloworld
|
|
main.c)
|
|
|
|
target_link_libraries(helloworld
|
|
whb
|
|
defaultheap
|
|
coreinit
|
|
proc_ui
|
|
sysapp)
|
|
|
|
wut_create_rpx(helloworld.rpx helloworld)
|
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/helloworld.rpx"
|
|
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|