cmake/Tests/InterfaceLibrary/definetestexe.cpp

25 lines
356 B
C++
Raw Normal View History

2014-08-03 19:52:23 +02:00
#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
2015-04-27 22:25:09 +02:00
extern int obj();
extern int sub();
2014-08-03 19:52:23 +02:00
int main(int,char**)
{
2015-04-27 22:25:09 +02:00
return obj() + sub();
2014-08-03 19:52:23 +02:00
}