Actually define the update checker defines when enabled

This commit is contained in:
Thomas Goyne 2012-11-01 14:21:10 -07:00
parent 7f4a3b4967
commit 83597e1a68

View file

@ -31,18 +31,25 @@
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Build credit text -->
<PropertyGroup Condition="'$(AegisubBuildCredit)'==''">
<AegisubBuildCredit>Anonymous</AegisubBuildCredit>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(AegisubBuildCredit)'!=''">
<ItemDefinitionGroup Condition="'$(AegisubBuildCredit)'==''">
<ClCompile>
<PreprocessorDefinitions>BUILD_CREDIT="$(AegisubBuildCredit)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<!-- Update checker -->
<ItemDefinitionGroup Condition="'$(AegisubUseUpdateChecker)'=='true'">
<ClCompile>
<PreprocessorDefinitions>
WITH_UPDATE_CHECKER;
UPDATE_CHECKER_SERVER="$(UpdateCheckerServer)";
UPDATE_CHECKER_BASE_URL="$(UpdateCheckerURL)";
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<!-- Automation Lua support -->
<ItemDefinitionGroup>
<ClCompile>