https://github.com/Kitware/CMake
Raw File
Tip revision: 3a0db0223b8c10cfaa6984253d794ab97425adf9 authored by Brad King on 23 July 2015, 12:49:45 UTC
CMake 3.3.0
Tip revision: 3a0db02
cxxonly.cxx
#include "libcxx1.h"
#include "libcxx2.h"

#include <stdio.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