Revision be36bfd65d53962c7ba975382bd911e0857f6a33 authored by Domen Vrankar on 10 February 2015, 22:03:06 UTC, committed by Brad King on 11 February 2015, 14:56:27 UTC
The file(GLOB_RECURSE) call added by commit 3ec02547 (CPackRPM: Allow
multiple path relocation prefixes for one package, 2015-01-21) should
not follow directory symlinks, so make sure CMP0009 is set to NEW.
1 parent 3d99355
Raw File
cxxonly.cxx
#include "libcxx1.h"
#include "libcxx2.h"
#ifdef _MSC_VER
extern int testCPP;
#endif

#include <stdio.h>

int main ()
{
#ifdef _MSC_VER
  testCPP = 1;
#endif
  if ( LibCxx1Class::Method() != 2.0 )
    {
    printf("Problem with libcxx1\n");
    return 1;
    }
  if ( LibCxx2Class::Method() != 1.0 )
    {
    printf("Problem with libcxx2\n");
    return 1;
    }
  return 0;
}
back to top