https://github.com/Kitware/CMake
Raw File
Tip revision: 0b0df2d0638c1505463039bab0669eeb550b0471 authored by Brad King on 13 October 2020, 16:40:27 UTC
CMake 3.19.0-rc1
Tip revision: 0b0df2d
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