wut/samples/cmake/gx2_triangle/CMakeLists.txt

12 lines
292 B
CMake
Raw Normal View History

2018-05-31 11:20:16 +02:00
cmake_minimum_required(VERSION 3.2)
project(gx2_triangle C)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
2018-05-31 11:20:16 +02:00
add_executable(gx2_triangle
main.c)
wut_create_rpx(gx2_triangle)
2018-05-31 11:20:16 +02:00
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gx2_triangle.rpx"
DESTINATION "${CMAKE_INSTALL_PREFIX}")