https://github.com/Kitware/CMake
Raw File
Tip revision: f15cfd891d1e01247ed285320ae32b6c3182ac8f authored by Brad King on 18 July 2017, 15:18:18 UTC
CMake 3.9.0
Tip revision: f15cfd8
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