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