diff options
author | David Cole <david.cole@kitware.com> | 2011-01-25 23:54:36 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-01-26 00:01:13 (GMT) |
commit | 662756036e4f4983b00ab7740773a55bef808c64 (patch) | |
tree | 187ec92cf99e4c04efa440539b4aa316b7180153 /Source/cmVisualStudioGeneratorOptions.h | |
parent | 0cde56dda4b93a8a51196dbd8c26fdf530a70968 (diff) | |
download | CMake-662756036e4f4983b00ab7740773a55bef808c64.zip CMake-662756036e4f4983b00ab7740773a55bef808c64.tar.gz CMake-662756036e4f4983b00ab7740773a55bef808c64.tar.bz2 |
VS10: Escape double quote chars in defines for rc files (#11695)
To get rc defines to work in the VS10 IDE requires \" when
constructing PreprocessorDefinitions strings. This is different
than defines for cl.
Also, per-file rc defines were not being generated. Fix that, too.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r-- | Source/cmVisualStudioGeneratorOptions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h index 8619ba0..fadc4b5 100644 --- a/Source/cmVisualStudioGeneratorOptions.h +++ b/Source/cmVisualStudioGeneratorOptions.h @@ -54,7 +54,8 @@ public: // Write options to output. void OutputPreprocessorDefinitions(std::ostream& fout, const char* prefix, - const char* suffix); + const char* suffix, + const char* lang); void OutputFlagMap(std::ostream& fout, const char* indent); void OutputAdditionalOptions(std::ostream& fout, const char* prefix, |