diff options
Diffstat (limited to 'tools/grit/build')
-rw-r--r-- | tools/grit/build/grit_localized_resources.rules | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/grit/build/grit_localized_resources.rules b/tools/grit/build/grit_localized_resources.rules index 9c3a53b..ca48791 100644 --- a/tools/grit/build/grit_localized_resources.rules +++ b/tools/grit/build/grit_localized_resources.rules @@ -7,7 +7,7 @@ <CustomBuildRule Name="GRIT Generated Localized Resources" DisplayName="GRIT Generated Localized 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; $(OutDir)\grit_derived_sources\$(InputName)_ar.rc; $(OutDir)\grit_derived_sources\$(InputName)_bg.rc; @@ -113,6 +113,14 @@ 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> |