samples: Move all into cmake directory, WUT_ROOT->DEVKITPRO/wut

This commit is contained in:
Ash Logan 2019-04-09 18:39:03 +10:00
parent 370eeb28e9
commit 5f1da6432c
21 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.2)
set(CMAKE_TOOLCHAIN_FILE $ENV{WUT_ROOT}/share/wut.toolchain.cmake)
set(CMAKE_TOOLCHAIN_FILE $ENV{DEVKITPRO}/wut/share/wut.toolchain.cmake)
project(samples)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_subdirectory(curl)
add_subdirectory(custom_default_heap)

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
project(curl C)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(curl
main.c)

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
project(custom_default_heap C)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(custom_default_heap
main.c)

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
project(gx2_triangle C)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(gx2_triangle
main.c)

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
project(helloworld C)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(helloworld
main.c)

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
project(helloworld_cpp CXX)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(helloworld_cpp
main.cpp)

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
project(my_first_rpl C)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(my_first_rpl
my_first_rpl.c)

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
project(swkbd CXX)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(swkbd
main.cpp)