2018-05-30 21:56:29 +01:00
|
|
|
cmake_minimum_required(VERSION 3.2)
|
|
|
|
project(my_first_rpl C)
|
2019-04-09 18:39:03 +10:00
|
|
|
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
2018-05-30 21:56:29 +01:00
|
|
|
|
2020-06-06 16:01:40 +01:00
|
|
|
add_executable(my_first_rpl my_first_rpl.c)
|
2019-11-20 12:45:17 +00:00
|
|
|
wut_add_exports(my_first_rpl exports.def)
|
2019-11-23 10:10:43 +00:00
|
|
|
wut_create_rpl(my_first_rpl)
|
2018-05-30 21:56:29 +01:00
|
|
|
|
2020-06-06 16:01:40 +01:00
|
|
|
add_executable(my_first_rpx my_first_rpx.c)
|
|
|
|
wut_link_rpl(my_first_rpx my_first_rpl)
|
|
|
|
wut_create_rpx(my_first_rpx)
|
|
|
|
|
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/my_first_rpx.rpx"
|
|
|
|
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
2018-05-30 21:56:29 +01:00
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/my_first_rpl.rpl"
|
|
|
|
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|