wut/samples/cmake/helloworld/CMakeLists.txt
2019-11-20 12:49:02 +00:00

12 lines
299 B
CMake

cmake_minimum_required(VERSION 3.2)
project(helloworld C)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(helloworld
main.c)
wut_create_rpx(helloworld.rpx helloworld)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/helloworld.rpx"
DESTINATION "${CMAKE_INSTALL_PREFIX}")