https://github.com/Kitware/CMake
Raw File
Tip revision: ed154b38963437c7a0208a45592988aa577ac7c9 authored by Brad King on 06 November 2023, 16:50:13 UTC
CMake 3.28.0-rc4
Tip revision: ed154b3
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