https://github.com/Kitware/CMake
Raw File
Tip revision: 51b34a5483dccc20edf6a3cc65f3bb19b31b1d72 authored by Brad King on 20 September 2023, 14:33:04 UTC
CMake 3.27.6
Tip revision: 51b34a5
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