diff options
author | Martin Mitas <mity@morous.org> | 2014-07-09 23:01:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-10 18:33:27 (GMT) |
commit | 5d8738468f3eb6f45035d1f77c23ef5fdf490af6 (patch) | |
tree | 2c1a2a35afb6079882de62b598fe45295dfb0823 /Source/cmVisualStudioGeneratorOptions.h | |
parent | 55d3e88fb7eb5cfdb58c5617133dfaf70d3b0547 (diff) | |
download | CMake-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.h | 1 |
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 }; |