export: Add support for INTERFACE_LIBRARY targets

This commit is contained in:
Stephen Kelly
2012-11-20 10:58:15 +01:00
committed by Brad King
parent fe732264e9
commit 435c912848
17 changed files with 185 additions and 14 deletions
@@ -0,0 +1,17 @@
#include "headeronly.h"
#ifndef HEADERONLY_DEFINE
#error Expected HEADERONLY_DEFINE
#endif
#ifdef SHAREDLIB_DEFINE
#error Unexpected SHAREDLIB_DEFINE
#endif
int main(int,char**)
{
HeaderOnly ho;
return ho.foo();
}