diff options
author | Brad King <brad.king@kitware.com> | 2003-06-30 14:30:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-30 14:30:38 (GMT) |
commit | ef76ed76f8a31f706ee675160e5c57c34b608516 (patch) | |
tree | b0bad156b6f2fb3b4bfdb57a13a55a0b2d45f0bb /Source/kwsys/Configure.h.in | |
parent | ac2de4f5defce85b7980d70656668d8aebc62079 (diff) | |
download | CMake-ef76ed76f8a31f706ee675160e5c57c34b608516.zip CMake-ef76ed76f8a31f706ee675160e5c57c34b608516.tar.gz CMake-ef76ed76f8a31f706ee675160e5c57c34b608516.tar.bz2 |
ENH: Added DLL support.
Diffstat (limited to 'Source/kwsys/Configure.h.in')
-rw-r--r-- | Source/kwsys/Configure.h.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.h.in b/Source/kwsys/Configure.h.in new file mode 100644 index 0000000..5af7a96 --- /dev/null +++ b/Source/kwsys/Configure.h.in @@ -0,0 +1,30 @@ +/*========================================================================= + + Program: KWSys - Kitware System Library + Module: $RCSfile$ + Language: C++ + Date: $Date$ + Version: $Revision$ + + Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. + See http://www.cmake.org/HTML/Copyright.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ +#ifndef @KWSYS_NAMESPACE@_Configure_h +#define @KWSYS_NAMESPACE@_Configure_h + +#if defined(_WIN32) && @KWSYS_BUILD_SHARED@ +# if defined(@KWSYS_NAMESPACE@_EXPORTS) +# define @KWSYS_NAMESPACE@_EXPORT __declspec(dllexport) +# else +# define @KWSYS_NAMESPACE@_EXPORT __declspec(dllexport) +# endif +#else +# define @KWSYS_NAMESPACE@_EXPORT +#endif + +#endif |