cmake/Tests/InterfaceLibrary/sharedlibtestexe.cpp

20 lines
321 B
C++
Raw Normal View History

2014-08-03 19:52:23 +02:00
#ifndef SHAREDLIB_DEFINE
#error Expected SHAREDLIB_DEFINE
#endif
#ifndef SHAREDDEPENDLIB_DEFINE
#error Expected SHAREDDEPENDLIB_DEFINE
#endif
#include "sharedlib.h"
#include "shareddependlib.h"
2016-07-09 11:21:54 +02:00
int main(int, char**)
2014-08-03 19:52:23 +02:00
{
SharedLibObject sl;
SharedDependLibObject sdl = sl.object();
return sdl.foo() + sl.foo();
}