https://github.com/Kitware/CMake
Raw File
Tip revision: 6218aba37ad9990304f91bf6c27e014fbf8ad684 authored by David Cole on 18 April 2012, 16:03:39 UTC
CMake 2.8.8
Tip revision: 6218aba
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