summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentCompileDefinitions.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-04-11 15:34:17 (GMT)
committerBrad King <brad.king@kitware.com>2013-04-11 15:41:15 (GMT)
commit4e4688e46944bd94966d8abdaad68aad1cc2212b (patch)
tree9c5f3392c977cd6521880042c7d53a8cbbfcfe7a /Source/cmDocumentCompileDefinitions.h
parent6bfa3d8668ecbc0c7b57f1c0fdcd56ba177a00b6 (diff)
downloadCMake-4e4688e46944bd94966d8abdaad68aad1cc2212b.zip
CMake-4e4688e46944bd94966d8abdaad68aad1cc2212b.tar.gz
CMake-4e4688e46944bd94966d8abdaad68aad1cc2212b.tar.bz2
VS 10: Escape ; as %3B in preprocessor definitions (#14073)
Use the suggestion from http://support.microsoft.com/kb/2262855 to escape semicolons in preprocessor definitions for VS >= 10. Update the COMPILE_DEFINITIONS documentation disclaimer list of known limitations accordingly. Update our "Preprocess" test to cover the case. Suggested-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Diffstat (limited to 'Source/cmDocumentCompileDefinitions.h')
-rw-r--r--Source/cmDocumentCompileDefinitions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentCompileDefinitions.h b/Source/cmDocumentCompileDefinitions.h
index ef3b3e7..d15bd6d 100644
--- a/Source/cmDocumentCompileDefinitions.h
+++ b/Source/cmDocumentCompileDefinitions.h
@@ -23,7 +23,7 @@
"in a (configured) header file. Then report the limitation. " \
"Known limitations include:\n" \
" # - broken almost everywhere\n" \
- " ; - broken in VS IDE and Borland Makefiles\n" \
+ " ; - broken in VS IDE 7.0 and Borland Makefiles\n" \
" , - broken in VS IDE\n" \
" % - broken in some cases in NMake\n" \
" & | - broken in some cases on MinGW\n" \