https://github.com/Kitware/CMake
Raw File
Tip revision: 0f4e8fd0e9d4be3d6a9b6fd6d5a89f5155192064 authored by Brad King on 17 March 2014, 17:14:27 UTC
CMake 3.0.0-rc2
Tip revision: 0f4e8fd
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