mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 02:44:19 +01:00
Cleanup tests cmake scripts.
This commit is contained in:
parent
6d63b6cf2d
commit
ac36f99f62
@ -1,7 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
set(CMAKE_TOOLCHAIN_FILE $ENV{WUT_ROOT}/share/wut.toolchain.cmake)
|
||||
project(tests)
|
||||
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
||||
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
|
||||
include_directories("test_compile_headers_common")
|
||||
add_subdirectory(test_compile_headers_as_c11)
|
||||
|
@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
project(test_compile_headers_as_c11 C)
|
||||
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
||||
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
project(test_compile_headers_as_c99 C)
|
||||
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
||||
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
project(test_compile_headers_as_cpp CXX)
|
||||
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
||||
include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
|
||||
|
||||
add_executable(test_compile_headers_as_cpp
|
||||
main.cpp)
|
||||
|
||||
wut_enable_stdcpp(test_compile_headers_as_cpp)
|
||||
wut_create_rpx(test_compile_headers_as_cpp.rpx test_compile_headers_as_cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user