2018-06-13 13:12:51 +02:00
|
|
|
cmake_minimum_required(VERSION 3.2)
|
|
|
|
project(swkbd CXX)
|
2019-04-09 10:39:03 +02:00
|
|
|
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
2018-06-13 13:12:51 +02:00
|
|
|
|
|
|
|
add_executable(swkbd
|
|
|
|
main.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(swkbd
|
|
|
|
whb
|
|
|
|
gx2
|
|
|
|
coreinit
|
|
|
|
proc_ui
|
|
|
|
sysapp
|
|
|
|
nsysnet
|
|
|
|
nn_ac
|
|
|
|
nn_swkbd
|
|
|
|
vpad)
|
|
|
|
|
2019-01-10 10:43:28 +01:00
|
|
|
wut_create_rpx(swkbd_sample.rpx
|
2018-06-13 13:12:51 +02:00
|
|
|
swkbd)
|
|
|
|
|
2019-01-10 10:43:28 +01:00
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/swkbd_sample.rpx"
|
2018-06-13 13:12:51 +02:00
|
|
|
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|