summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-14 18:44:20 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-14 18:44:20 (GMT)
commit8da78710bc24b39f39f586b76395fe14660099e0 (patch)
treeace8eae059dab0ec1673fc44dc78041e1c50d1e6 /Source/kwsys
parent31d72f961b7914a4168951cea492855150576648 (diff)
downloadCMake-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.h8
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