https://github.com/Kitware/CMake
Raw File
Tip revision: ed084886b7c1feb1ac663063d753d49f4fafcd0b authored by Brad King on 12 October 2022, 14:23:58 UTC
CMake 3.25.0-rc1
Tip revision: ed08488
foo.cpp

#ifdef BAR_LIBRARY
#  error Unexpected BAR_LIBRARY
#endif

#ifdef BANG_LIBRARY
#  error Unexpected BANG_LIBRARY
#endif

#include "foo.h"

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