mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 16:08:14 +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)
|
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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
Loading…
Reference in New Issue
Block a user