https://github.com/Kitware/CMake
Raw File
Tip revision: 26a0e200e5f4abe8268235c9fdb23a2612a1b3b1 authored by Brad King on 04 September 2019, 13:50:07 UTC
CMake 3.15.3
Tip revision: 26a0e20
main.cpp

#include "test_compiler_detection.h"

#define PREFIX TEST
#include "compile_tests.h"

#ifdef TEST_COMPILER_C_STATIC_ASSERT
#  error Expect no C features defined
#endif

TEST_STATIC_ASSERT(true);
TEST_STATIC_ASSERT_MSG(true, "msg");

int main()
{
  return 0;
}
back to top