https://github.com/Kitware/CMake
Raw File
Tip revision: d203761520f5dd21a9cc4de5c4ca0d0e4e188e34 authored by Brad King on 18 February 2016, 15:41:26 UTC
CMake 3.5.0-rc3
Tip revision: d203761
mainAB.c

#include "b.h"

extern IMPORT_B int b1(void);
extern IMPORT_B int b2(void);
#ifndef NO_A
extern int a1(void);
extern int a2(void);
#endif
int main(void)
{
  return 0
#ifndef NO_A
    + a1()
    + a2()
#endif
    + b1()
    + b2()
    ;
}
back to top