https://github.com/Kitware/CMake
Raw File
Tip revision: ee1c6a5b0674b77a05c84ac208044f79d25826e5 authored by David Cole on 08 July 2011, 11:12:50 UTC
CMake 2.8.5
Tip revision: ee1c6a5
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