forked from mia/Aegisub
Actually define the update checker defines when enabled
This commit is contained in:
parent
7f4a3b4967
commit
83597e1a68
1 changed files with 13 additions and 6 deletions
|
@ -31,18 +31,25 @@
|
||||||
-->
|
-->
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Build credit text -->
|
<!-- Build credit text -->
|
||||||
<PropertyGroup Condition="'$(AegisubBuildCredit)'==''">
|
<ItemDefinitionGroup Condition="'$(AegisubBuildCredit)'==''">
|
||||||
<AegisubBuildCredit>Anonymous</AegisubBuildCredit>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubBuildCredit)'!=''">
|
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>BUILD_CREDIT="$(AegisubBuildCredit)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>BUILD_CREDIT="$(AegisubBuildCredit)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</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 -->
|
<!-- Automation Lua support -->
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
|
Loading…
Reference in a new issue