mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 02:38:16 +01:00
samples: Move all into cmake directory, WUT_ROOT->DEVKITPRO/wut
This commit is contained in:
parent
370eeb28e9
commit
5f1da6432c
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
Loading…
Reference in New Issue
Block a user