https://github.com/Kitware/CMake
Raw File
Tip revision: f9116d0225f0c96a20b508510cffb621e116ac28 authored by Brad King on 28 June 2010, 14:23:40 UTC
CMake 2.8.2
Tip revision: f9116d0
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