diff options
author | Brad King <brad.king@kitware.com> | 2003-12-14 18:44:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-12-14 18:44:20 (GMT) |
commit | 8da78710bc24b39f39f586b76395fe14660099e0 (patch) | |
tree | ace8eae059dab0ec1673fc44dc78041e1c50d1e6 /Source/kwsys | |
parent | 31d72f961b7914a4168951cea492855150576648 (diff) | |
download | CMake-8da78710bc24b39f39f586b76395fe14660099e0.zip CMake-8da78710bc24b39f39f586b76395fe14660099e0.tar.gz CMake-8da78710bc24b39f39f586b76395fe14660099e0.tar.bz2 |
ENH: Added KWSYS_NAMESPACE_STRING macro.
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/kwsysPrivate.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/kwsysPrivate.h b/Source/kwsys/kwsysPrivate.h index 94f8b4e..e43280d 100644 --- a/Source/kwsys/kwsysPrivate.h +++ b/Source/kwsys/kwsysPrivate.h @@ -33,6 +33,14 @@ #define KWSYS_HEADER0(x) KWSYS_HEADER1(x) #define KWSYS_HEADER1(x) <x> +/* + Define KWSYS_NAMESPACE_STRING to be a string constant containing the + name configured for this instance of the kwsys library. +*/ +#define KWSYS_NAMESPACE_STRING KWSYS_NAMESPACE_STRING0(KWSYS_NAMESPACE) +#define KWSYS_NAMESPACE_STRING0(x) KWSYS_NAMESPACE_STRING1(x) +#define KWSYS_NAMESPACE_STRING1(x) #x + #else # error "kwsysPrivate.h included multiple times." #endif |