CMake/Tests/InterfaceLibrary/definetestexe.cpp

25 lines
357 B
C++
Raw Normal View History

#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
extern int obj();
extern int sub();
int main(int, char**)
{
return obj() + sub();
}