wut/tests/CMakeLists.txt
James Benton 0750d60693 Add some compile tests.
These are to check there are no syntax errors in the headers and that
all the CHECK_OFFSET and CHECK_SIZE macros are valid.
2018-06-18 10:26:37 +01:00

8 lines
257 B
CMake

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)
add_subdirectory(test_compile_headers_as_c)
add_subdirectory(test_compile_headers_as_cpp)