wut/samples/cmake/gx2_triangle/CMakeLists.txt

20 lines
399 B
CMake

cmake_minimum_required(VERSION 3.2)
project(gx2_triangle C)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(gx2_triangle
main.c)
target_link_libraries(gx2_triangle
whb
gfd
gx2
proc_ui
nsysnet
sysapp)
wut_create_rpx(gx2_triangle.rpx gx2_triangle)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gx2_triangle.rpx"
DESTINATION "${CMAKE_INSTALL_PREFIX}")