From 237e7d34f912538ed3f1bae27b140053b1d48e92 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 14 Jul 2005 13:50:27 -0400 Subject: [PATCH] ENH: add missing files --- Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx | 6 ++++++ Tests/OutOfSource/OutOfSourceSubdir/testlib.h | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx create mode 100644 Tests/OutOfSource/OutOfSourceSubdir/testlib.h diff --git a/Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx b/Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx new file mode 100644 index 000000000..1f78bd3e0 --- /dev/null +++ b/Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx @@ -0,0 +1,6 @@ +#include "testlib.h" + +float TestLib() +{ + return 1.0; +} diff --git a/Tests/OutOfSource/OutOfSourceSubdir/testlib.h b/Tests/OutOfSource/OutOfSourceSubdir/testlib.h new file mode 100644 index 000000000..289b67361 --- /dev/null +++ b/Tests/OutOfSource/OutOfSourceSubdir/testlib.h @@ -0,0 +1,11 @@ +#ifdef _WIN32 +# ifdef testlib_EXPORTS +# define CM_TEST_LIB_EXPORT __declspec( dllexport ) +# else +# define CM_TEST_LIB_EXPORT __declspec( dllimport ) +# endif +#else +# define CM_TEST_LIB_EXPORT +#endif + +CM_TEST_LIB_EXPORT float TestLib();