https://github.com/Kitware/CMake
Raw File
Tip revision: 95cce32470b9fbddf3b6f4bd0d186ec5efe50371 authored by Brad King on 07 July 2022, 15:02:54 UTC
CMake 3.24.0-rc3
Tip revision: 95cce32
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