cmake/Tests/InterfaceLibrary/definetestexe.cpp

26 lines
391 B
C++
Raw Normal View History

2014-08-03 19:52:23 +02:00
#ifndef IFACE_DEFINE
2018-08-09 18:06:22 +02:00
# error Expected IFACE_DEFINE
2014-08-03 19:52:23 +02:00
#endif
#include "iface_header.h"
#ifndef IFACE_HEADER_SRCDIR
2018-08-09 18:06:22 +02:00
# error Expected IFACE_HEADER_SRCDIR
2014-08-03 19:52:23 +02:00
#endif
#include "iface_header_builddir.h"
#ifndef IFACE_HEADER_BUILDDIR
2018-08-09 18:06:22 +02:00
# error Expected IFACE_HEADER_BUILDDIR
2014-08-03 19:52:23 +02:00
#endif
2015-04-27 22:25:09 +02:00
extern int obj();
extern int sub();
2017-04-14 19:02:05 +02:00
extern int item();
2015-04-27 22:25:09 +02:00
2016-07-09 11:21:54 +02:00
int main(int, char**)
2014-08-03 19:52:23 +02:00
{
2017-04-14 19:02:05 +02:00
return obj() + sub() + item();
2014-08-03 19:52:23 +02:00
}