https://github.com/Kitware/CMake
Raw File
Tip revision: b5602e7254c8ce4a6f732c017d784cd80559e5aa authored by Brad King on 20 March 2024, 14:03:43 UTC
CMake 3.28.4
Tip revision: b5602e7
cxxonly.cxx
#include <stdio.h>

#include "libcxx1.h"
#include "libcxx2.h"

int main()
{
  if (LibCxx1Class::Method() != 2.0) {
    printf("Problem with libcxx1\n");
    return 1;
  }
#ifdef TEST_FLAG_3
  return 0;
#else
  printf("Problem with libcxx2.h include dir probably!\n");
  return 1;
#endif
}
back to top