mirror of https://github.com/BOINC/boinc.git
52 lines
2.4 KiB
XML
52 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectName>installer_setup</ProjectName>
|
|
<ProjectGuid>{80DFF29A-7B1D-41F4-BEAE-307CDB39BF54}</ProjectGuid>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="boinc.props" />
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>.;..;../api;../lib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies Condition="'$(Configuration)'=='Debug'">libcmtd.lib;libcpmtd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<AdditionalDependencies Condition="'$(Configuration)'=='Release'">libcmt.lib;libcpmt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<SubSystem>Windows</SubSystem>
|
|
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
|
|
</Link>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>BOINC_MSI=$(SolutionDir)Build\$(Platform)\$(Configuration)\boinc.msi;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\installer\installer_setup\main.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\installer\installer_setup\installer_setup.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ResourceCompile Include="..\installer\installer_setup\installer_setup.rc" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
<PropertyGroup>
|
|
<CustomBuildBeforeTargets>ClCompile</CustomBuildBeforeTargets>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<CustomBuildStep>
|
|
<Command>$(SolutionDir)Build\x64\$(Configuration)\installer.exe -p $(Platform)</Command>
|
|
<Inputs>$(MSBuildThisFileDirectory)..\installer\boinc.json;$(MSBuildThisFileDirectory)..\installer\locale\en.json;$(OutDir)boinccas.dll;$(SolutionDir)Build\x64\$(Configuration)\installer.exe</Inputs>
|
|
<Outputs>$(OutDir)boinc.msi</Outputs>
|
|
</CustomBuildStep>
|
|
</ItemDefinitionGroup>
|
|
<Import Project="boinc_signing.targets" />
|
|
</Project>
|