cmake/Tests/InterfaceLibrary/definetestexe.cpp
2021-09-14 00:13:48 +02:00

32 lines
487 B
C++

#ifndef IFACE_DEFINE
# error Expected IFACE_DEFINE
#endif
#include "iface_header.h"
#ifndef IFACE_HEADER_SRCDIR
# error Expected IFACE_HEADER_SRCDIR
#endif
#include "iface_header_builddir.h"
#ifndef IFACE_HEADER_BUILDDIR
# error Expected IFACE_HEADER_BUILDDIR
#endif
#include "iface_genheader.h"
#ifndef IFACE_GENHEADER
# error Expected IFACE_GENHEADER
#endif
extern int obj();
extern int sub();
extern int item();
int main(int, char**)
{
return obj() + sub() + item();
}