https://github.com/Kitware/CMake
Raw File
Tip revision: b494308dab7ca3fe94ce558ddddc71bcaf1a8e6d authored by Sebastian Holtermann on 13 September 2017, 16:31:50 UTC
Autogen: Tests: Backport tests for _autogen target dependencies
Tip revision: b494308
conly.c
#include <stdio.h>

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

int main(void)
{
  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