wut/tests/test_compile_headers_as_cpp/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

10 lines
306 B
CMake

cmake_minimum_required(VERSION 3.2)
project(test_compile_headers_as_cpp CXX)
include("${WUT_ROOT}/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)