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) 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) project(samples)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED) include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_subdirectory(curl) add_subdirectory(curl)
add_subdirectory(custom_default_heap) add_subdirectory(custom_default_heap)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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