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/cmVS11RCFlagTable.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/cmVS11RCFlagTable.h')
-rw-r--r-- | Source/cmVS11RCFlagTable.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmVS11RCFlagTable.h b/Source/cmVS11RCFlagTable.h new file mode 100644 index 0000000..a7d2de1 --- /dev/null +++ b/Source/cmVS11RCFlagTable.h @@ -0,0 +1,7 @@ +static cmVS7FlagTable cmVS11RCFlagTable[] = +{ + //Bool Properties + {"NullTerminateStrings", "n", "", "true", 0}, + + {0,0,0,0,0} +}; |