Index: tools/grit/build/grit_resources.rules |
diff --git a/tools/grit/build/grit_resources.rules b/tools/grit/build/grit_resources.rules |
index 0f1614c1ba2402df9378f83742dff65336528e18..d686fed4322a943c908e573dcf8ec86877e3669d 100644 |
--- a/tools/grit/build/grit_resources.rules |
+++ b/tools/grit/build/grit_resources.rules |
@@ -7,13 +7,21 @@ |
<CustomBuildRule |
Name="GRIT Generated Resources" |
DisplayName="GRIT Generated Resources" |
- CommandLine="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat [inputs] "$(SolutionDir)" "$(OutDir)\grit_derived_sources"" |
+ CommandLine="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat [inputs] "$(SolutionDir)" "$(OutDir)\grit_derived_sources" [AllOptions]" |
Outputs="$(OutDir)\grit_derived_sources\$(InputName).h" |
AdditionalDependencies="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat;$(SolutionDir)..\tools\grit\grit.py" |
FileExtensions="*.grd" |
ExecutionDescription="Generating resources..." |
> |
<Properties> |
+ <StringProperty |
+ Name="PreprocessorDefinitions" |
+ DisplayName="Preprocessor Definitions" |
+ Description="Defines a text macro with the given name." |
+ Switch=""[value]"" |
+ Delimited="true" |
+ Inheritable="true" |
+ /> |
</Properties> |
</CustomBuildRule> |
</Rules> |