summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentCompileDefinitions.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-17 12:55:48 (GMT)
committerBrad King <brad.king@kitware.com>2011-01-17 12:55:48 (GMT)
commit668ce6b1e88c1732bc677413033552994c951709 (patch)
tree855ba192baffbd3be630280708f46d05972344b8 /Source/cmDocumentCompileDefinitions.h
parent28a0403c3491d4a96f5dc827e54442a1d0a0dea7 (diff)
downloadCMake-668ce6b1e88c1732bc677413033552994c951709.zip
CMake-668ce6b1e88c1732bc677413033552994c951709.tar.gz
CMake-668ce6b1e88c1732bc677413033552994c951709.tar.bz2
Combine duplicate COMPILE_DEFINITIONS disclaimer
Diffstat (limited to 'Source/cmDocumentCompileDefinitions.h')
-rw-r--r--Source/cmDocumentCompileDefinitions.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Source/cmDocumentCompileDefinitions.h b/Source/cmDocumentCompileDefinitions.h
new file mode 100644
index 0000000..3ea5746
--- /dev/null
+++ b/Source/cmDocumentCompileDefinitions.h
@@ -0,0 +1,25 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef cmDocumentCompileDefinitions_h
+#define cmDocumentCompileDefinitions_h
+
+#define CM_DOCUMENT_COMPILE_DEFINITIONS_DISCLAIMER \
+ "Disclaimer: Most native build tools have poor support for escaping " \
+ "certain values. CMake has work-arounds for many cases but some " \
+ "values may just not be possible to pass correctly. If a value " \
+ "does not seem to be escaped correctly, do not attempt to " \
+ "work-around the problem by adding escape sequences to the value. " \
+ "Your work-around may break in a future version of CMake that " \
+ "has improved escape support. Instead consider defining the macro " \
+ "in a (configured) header file. Then report the limitation."
+
+#endif