summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.h
diff options
context:
space:
mode:
authorMartin Mitas <mity@morous.org>2014-07-09 23:01:18 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-10 18:33:27 (GMT)
commit5d8738468f3eb6f45035d1f77c23ef5fdf490af6 (patch)
tree2c1a2a35afb6079882de62b598fe45295dfb0823 /Source/cmVisualStudioGeneratorOptions.h
parent55d3e88fb7eb5cfdb58c5617133dfaf70d3b0547 (diff)
downloadCMake-5d8738468f3eb6f45035d1f77c23ef5fdf490af6.zip
CMake-5d8738468f3eb6f45035d1f77c23ef5fdf490af6.tar.gz
CMake-5d8738468f3eb6f45035d1f77c23ef5fdf490af6.tar.bz2
VS: Fix handling of non-preprocessor flags in CMAKE_RC_FLAGS
Teach the VS >= 10 generator to honor flags other than -I and -D in the CMAKE_RC_FLAGS[_<CONFIG>] variable. Place them within the ResourceCompile .vcxproj element under AdditionalOptions. Also add a rudimentary flag map to map '-n' to 'NullTerminateStrings'.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h
index 214b893..47a7c62 100644
--- a/Source/cmVisualStudioGeneratorOptions.h
+++ b/Source/cmVisualStudioGeneratorOptions.h
@@ -27,6 +27,7 @@ public:
enum Tool
{
Compiler,
+ ResourceCompiler,
Linker,
FortranCompiler
};