https://github.com/Kitware/CMake
Raw File
Tip revision: 6c71fa6d56d3e2de30de3e0eb1d72375530598c4 authored by Brad King on 14 March 2023, 14:04:14 UTC
CMake 3.26.0
Tip revision: 6c71fa6
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