diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-14 17:50:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-14 17:50:27 (GMT) |
commit | 237e7d34f912538ed3f1bae27b140053b1d48e92 (patch) | |
tree | 78710562d39dae91e5475af2fcb1c1ed78f8b02d /Tests/OutOfSource/OutOfSourceSubdir | |
parent | c7de609a372961ceff9121f43c412ac13ae4af45 (diff) | |
download | CMake-237e7d34f912538ed3f1bae27b140053b1d48e92.zip CMake-237e7d34f912538ed3f1bae27b140053b1d48e92.tar.gz CMake-237e7d34f912538ed3f1bae27b140053b1d48e92.tar.bz2 |
ENH: add missing files
Diffstat (limited to 'Tests/OutOfSource/OutOfSourceSubdir')
-rw-r--r-- | Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx | 6 | ||||
-rw-r--r-- | Tests/OutOfSource/OutOfSourceSubdir/testlib.h | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx b/Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx new file mode 100644 index 0000000..1f78bd3 --- /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 0000000..289b673 --- /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(); |