https://github.com/Kitware/CMake
Raw File
Tip revision: 0b3781e4c497566acaa504d4106d11c02a642501 authored by Brad King on 16 January 2014, 14:31:28 UTC
CMake 2.8.12.2
Tip revision: 0b3781e
conly.c
#include "foo.h"

#include "libc1.h"
#include "libc2.h"

#include <stdio.h>

int main ()
{
  int class = 0;
  if ( LibC1Func() != 2.0 )
    {
    printf("Problem with libc1\n");
    return 1;
    }
  if ( LibC2Func() != 1.0 )
    {
    printf("Problem with libc2\n");
    return 1;
    }
  printf("Foo: %s %d\n", foo, class);
  return 0;
}
back to top