https://github.com/Kitware/CMake
Raw File
Tip revision: bf02d625325535f485512eba307cff54c08bb257 authored by Brad King on 14 March 2019, 13:08:05 UTC
CMake 3.14.0
Tip revision: bf02d62
definetestexe.cpp

#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();
extern int item();

int main(int, char**)
{
  return obj() + sub() + item();
}
back to top