mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.9 KiB
68 lines
3.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<ProductVersion>3.5</ProductVersion>
|
|
<ProjectGuid>{1d808ff0-b5a9-4be9-859d-b334b6f48be2}</ProjectGuid>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<OutputName>node-v$(NodeVersion)-$(Platform)</OutputName>
|
|
<OutputType>Package</OutputType>
|
|
<EnableProjectHarvesting>True</EnableProjectHarvesting>
|
|
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
|
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
|
<NodeVersion Condition=" '$(NodeVersion)' == '' ">0.0.0.0</NodeVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
<OutputPath>..\..\..\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
<DefineConstants>Debug;ProductVersion=$(NodeVersion);NoETW=$(NoETW);NoPerfCtr=$(NoPerfCtr);NpmSourceDir=..\..\..\deps\npm\;ProgramFilesFolderId=ProgramFilesFolder</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
<OutputPath>..\..\..\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
<DefineConstants>Debug;ProductVersion=$(NodeVersion);NoETW=$(NoETW);NoPerfCtr=$(NoPerfCtr);NpmSourceDir=..\..\..\deps\npm\;ProgramFilesFolderId=ProgramFilesFolder</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
|
<OutputPath>..\..\..\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
<DefineConstants>Debug;ProductVersion=$(NodeVersion);NoETW=$(NoETW);NoPerfCtr=$(NoPerfCtr);NpmSourceDir=..\..\..\deps\npm\;ProgramFilesFolderId=ProgramFiles64Folder</DefineConstants>
|
|
<Cultures>en-US</Cultures>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
|
<OutputPath>..\..\..\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
<DefineConstants>Debug;ProductVersion=$(NodeVersion);NoETW=$(NoETW);NoPerfCtr=$(NoPerfCtr);NpmSourceDir=..\..\..\deps\npm\;ProgramFilesFolderId=ProgramFiles64Folder</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<EnableProjectHarvesting>True</EnableProjectHarvesting>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="product.wxs" />
|
|
<Compile Include="..\..\..\npm.wxs">
|
|
<Link>npm.wxs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<WixExtension Include="WixUIExtension">
|
|
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
|
|
<Name>WixUIExtension</Name>
|
|
</WixExtension>
|
|
<WixExtension Include="WiXUtilExtension">
|
|
<HintPath>$(WixExtDir)\WiXUtilExtension.dll</HintPath>
|
|
<Name>WiXUtilExtension</Name>
|
|
</WixExtension>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="WixUI_en-us.wxl" />
|
|
</ItemGroup>
|
|
<Import Project="$(WixTargetsPath)" />
|
|
<Target Name="BeforeBuild">
|
|
<HeatDirectory ToolPath="$(WixToolPath)" Directory="..\..\..\deps\npm" PreprocessorVariable="var.NpmSourceDir" DirectoryRefId="NodeModulesFolder" ComponentGroupName="NpmSourceFiles" GenerateGuidsNow="true" SuppressFragments="false" OutputFile="..\..\..\npm.wxs" RunAsSeparateProcess="true">
|
|
</HeatDirectory>
|
|
</Target>
|
|
<PropertyGroup>
|
|
<PostBuildEvent>move "!(TargetPath)" "$(TargetDir)\$(TargetFileName)"
|
|
move "!(TargetPdbPath)" "$(TargetDir)\$(TargetPdbName)"</PostBuildEvent>
|
|
</PropertyGroup>
|
|
</Project>
|
|
|