| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 |
<PropertyGroup> |
| 4 |
<EnableProjectHarvesting>True</EnableProjectHarvesting> |
| 5 |
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> |
| 6 |
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> |
| 7 |
<Platform Condition=" '$(Platform)' == '' ">x64</Platform> |
| 8 |
<ProductVersion>3.5</ProductVersion> |
| 9 |
<ProjectGuid>{baeb9c48-562c-4d56-a6cd-18932265480a}</ProjectGuid> |
| 10 |
<SchemaVersion>2.0</SchemaVersion> |
| 11 |
<OutputName>OpenNI-Windows-$(Platform)-2.2</OutputName> |
| 12 |
<OutputType>Package</OutputType> |
| 13 |
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> |
| 14 |
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> |
| 15 |
<Name>Install</Name> |
| 16 |
</PropertyGroup> |
| 17 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> |
| 18 |
<OutputPath>bin\$(Platform)\</OutputPath> |
| 19 |
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> |
| 20 |
<DefineConstants>RedistDir=$(SolutionDir)\Packaging\Output_$(Platform)</DefineConstants> |
| 21 |
<WixVariables> |
| 22 |
</WixVariables> |
| 23 |
<SuppressAllWarnings>False</SuppressAllWarnings> |
| 24 |
<Pedantic>False</Pedantic> |
| 25 |
<SuppressSpecificWarnings>1076</SuppressSpecificWarnings> |
| 26 |
<SuppressIces>ICE38;ICE43</SuppressIces> |
| 27 |
</PropertyGroup> |
| 28 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> |
| 29 |
<OutputPath>bin\$(Platform)\</OutputPath> |
| 30 |
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> |
| 31 |
<DefineConstants>RedistDir=$(SolutionDir)\Packaging\Output_$(Platform)</DefineConstants> |
| 32 |
<WixVariables> |
| 33 |
</WixVariables> |
| 34 |
<SuppressAllWarnings>False</SuppressAllWarnings> |
| 35 |
<Pedantic>False</Pedantic> |
| 36 |
<SuppressSpecificWarnings>1076</SuppressSpecificWarnings> |
| 37 |
<SuppressIces>ICE38;ICE43</SuppressIces> |
| 38 |
</PropertyGroup> |
| 39 |
<ItemGroup> |
| 40 |
<Compile Include="Fragments\RedistFragments.wxs" /> |
| 41 |
<Compile Include="Install.wxs" /> |
| 42 |
<Compile Include="UI\CustomeInstallUI.wxs" /> |
| 43 |
</ItemGroup> |
| 44 |
<ItemGroup> |
| 45 |
<Folder Include="Fragments" /> |
| 46 |
<Folder Include="Includes" /> |
| 47 |
<Folder Include="Lang" /> |
| 48 |
<Folder Include="Lang\en-us" /> |
| 49 |
<Folder Include="UI" /> |
| 50 |
<Folder Include="Resources" /> |
| 51 |
</ItemGroup> |
| 52 |
<ItemGroup> |
| 53 |
<ProjectReference Include="..\..\Samples\ClosestPointViewer\ClosestPointViewer.vcxproj"> |
| 54 |
<Name>ClosestPointViewer</Name> |
| 55 |
<Project>{bda3bf24-550a-4bf9-83e5-0006134eed40}</Project> |
| 56 |
<Private>True</Private> |
| 57 |
<DoNotHarvest>True</DoNotHarvest> |
| 58 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 59 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 60 |
</ProjectReference> |
| 61 |
<ProjectReference Include="..\..\Samples\EventBasedRead\EventBasedRead.vcxproj"> |
| 62 |
<Name>EventBasedRead</Name> |
| 63 |
<Project>{bda3bf24-5555-4bf9-83e5-7b56134edd40}</Project> |
| 64 |
<Private>True</Private> |
| 65 |
<DoNotHarvest>True</DoNotHarvest> |
| 66 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 67 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 68 |
</ProjectReference> |
| 69 |
<ProjectReference Include="..\..\Samples\MultiDepthViewer\MultiDepthViewer.vcxproj"> |
| 70 |
<Name>MultiDepthViewer</Name> |
| 71 |
<Project>{bda3bf24-550a-fff9-83e5-7b56134eee40}</Project> |
| 72 |
<Private>True</Private> |
| 73 |
<DoNotHarvest>True</DoNotHarvest> |
| 74 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 75 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 76 |
</ProjectReference> |
| 77 |
<ProjectReference Include="..\..\Samples\MultipleStreamRead\MultipleStreamRead.vcxproj"> |
| 78 |
<Name>MultipleStreamRead</Name> |
| 79 |
<Project>{920d08ac-452c-4326-bc6e-86fe65848587}</Project> |
| 80 |
<Private>True</Private> |
| 81 |
<DoNotHarvest>True</DoNotHarvest> |
| 82 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 83 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 84 |
</ProjectReference> |
| 85 |
<ProjectReference Include="..\..\Samples\MWClosestPointApp\MWClosestPointApp.vcxproj"> |
| 86 |
<Name>MWClosestPointApp</Name> |
| 87 |
<Project>{a0db36c9-ce6c-4f61-933c-e53a630d3c7e}</Project> |
| 88 |
<Private>True</Private> |
| 89 |
<DoNotHarvest>True</DoNotHarvest> |
| 90 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 91 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 92 |
</ProjectReference> |
| 93 |
<ProjectReference Include="..\..\Samples\MWClosestPoint\MWClosestPoint.vcxproj"> |
| 94 |
<Name>MWClosestPoint</Name> |
| 95 |
<Project>{4b01e59d-cc85-4b2e-b3a2-00f75856cb23}</Project> |
| 96 |
<Private>True</Private> |
| 97 |
<DoNotHarvest>True</DoNotHarvest> |
| 98 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 99 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 100 |
</ProjectReference> |
| 101 |
<ProjectReference Include="..\..\Samples\SimpleRead\SimpleRead.vcxproj"> |
| 102 |
<Name>SimpleRead</Name> |
| 103 |
<Project>{bda3bf24-550a-4bf9-83e5-7b56134edd40}</Project> |
| 104 |
<Private>True</Private> |
| 105 |
<DoNotHarvest>True</DoNotHarvest> |
| 106 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 107 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 108 |
</ProjectReference> |
| 109 |
<ProjectReference Include="..\..\Samples\SimpleViewer\SimpleViewer.vcxproj"> |
| 110 |
<Name>SimpleViewer</Name> |
| 111 |
<Project>{bda3bf24-550a-4bf9-83e5-7b56134eed40}</Project> |
| 112 |
<Private>True</Private> |
| 113 |
<DoNotHarvest>True</DoNotHarvest> |
| 114 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 115 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 116 |
</ProjectReference> |
| 117 |
<ProjectReference Include="..\..\Source\Core\OpenNI.vcxproj"> |
| 118 |
<Name>OpenNI</Name> |
| 119 |
<Project>{72d595bb-8c52-449b-91db-0e9f6aeaf53a}</Project> |
| 120 |
<Private>True</Private> |
| 121 |
<DoNotHarvest>True</DoNotHarvest> |
| 122 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 123 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 124 |
</ProjectReference> |
| 125 |
<ProjectReference Include="..\..\Source\Drivers\OniFile\OniFile.vcxproj"> |
| 126 |
<Name>OniFile</Name> |
| 127 |
<Project>{15ecc029-90de-4d1d-b00a-4a8e647d8c24}</Project> |
| 128 |
<Private>True</Private> |
| 129 |
<DoNotHarvest>True</DoNotHarvest> |
| 130 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 131 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 132 |
</ProjectReference> |
| 133 |
<ProjectReference Include="..\..\Source\Drivers\PS1080\PS1080.vcxproj"> |
| 134 |
<Name>PS1080</Name> |
| 135 |
<Project>{9f6652af-35f2-452e-a2d3-08d05f5c075e}</Project> |
| 136 |
<Private>True</Private> |
| 137 |
<DoNotHarvest>True</DoNotHarvest> |
| 138 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 139 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 140 |
</ProjectReference> |
| 141 |
<ProjectReference Include="..\..\Source\Drivers\PSLink\PSLink.vcxproj"> |
| 142 |
<Name>PSLink</Name> |
| 143 |
<Project>{5b74f010-8b79-46b5-b906-c2b56cdb3386}</Project> |
| 144 |
<Private>True</Private> |
| 145 |
<DoNotHarvest>True</DoNotHarvest> |
| 146 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 147 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 148 |
</ProjectReference> |
| 149 |
<ProjectReference Include="..\..\Source\Tools\NiViewer\NiViewer.vcxproj"> |
| 150 |
<Name>NiViewer</Name> |
| 151 |
<Project>{bda3bf24-550a-4bf9-83e5-0056134eed40}</Project> |
| 152 |
<Private>True</Private> |
| 153 |
<DoNotHarvest>True</DoNotHarvest> |
| 154 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 155 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 156 |
</ProjectReference> |
| 157 |
<ProjectReference Include="..\..\Source\Drivers\PSLink\PSLinkConsole\PSLinkConsole.vcxproj"> |
| 158 |
<Name>PSLinkConsole</Name> |
| 159 |
<Project>{d39a4248-3985-41de-afd5-aec58d29291f}</Project> |
| 160 |
<Private>True</Private> |
| 161 |
<DoNotHarvest>True</DoNotHarvest> |
| 162 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 163 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 164 |
</ProjectReference> |
| 165 |
<ProjectReference Include="..\..\ThirdParty\PSCommon\XnLib\Source\XnLib.vcxproj"> |
| 166 |
<Name>XnLib</Name> |
| 167 |
<Project>{72d595bb-8c52-449b-91db-0e9f6aeaf5bb}</Project> |
| 168 |
<Private>True</Private> |
| 169 |
<DoNotHarvest>True</DoNotHarvest> |
| 170 |
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> |
| 171 |
<RefTargetDir>INSTALLLOCATION</RefTargetDir> |
| 172 |
</ProjectReference> |
| 173 |
</ItemGroup> |
| 174 |
<ItemGroup> |
| 175 |
<Content Include="Includes\Variables.wxi" /> |
| 176 |
<Resource Include="Resources\mainicon.ico" /> |
| 177 |
<Content Include="Resources\Microsoft_VC100_CRT_x64.msm" /> |
| 178 |
<Content Include="Resources\Microsoft_VC100_CRT_x86.msm" /> |
| 179 |
<Content Include="Resources\Microsoft_VC90_CRT_x86.msm" /> |
| 180 |
<Content Include="Resources\Microsoft_VC90_CRT_x86_x64.msm" /> |
| 181 |
<Content Include="Resources\OpenNIBackground.bmp" /> |
| 182 |
<Content Include="Resources\OpenNIHeader.bmp" /> |
| 183 |
</ItemGroup> |
| 184 |
<ItemGroup> |
| 185 |
<EmbeddedResource Include="Lang\en-us\Loc_en-us.wxl" /> |
| 186 |
</ItemGroup> |
| 187 |
<ItemGroup> |
| 188 |
<WixExtension Include="WixUtilExtension"> |
| 189 |
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath> |
| 190 |
<Name>WixUtilExtension</Name> |
| 191 |
</WixExtension> |
| 192 |
<WixExtension Include="WixUIExtension"> |
| 193 |
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath> |
| 194 |
<Name>WixUIExtension</Name> |
| 195 |
</WixExtension> |
| 196 |
</ItemGroup> |
| 197 |
<Import Project="$(WixTargetsPath)" /> |
| 198 |
<PropertyGroup> |
| 199 |
<PostBuildEvent /> |
| 200 |
</PropertyGroup> |
| 201 |
<PropertyGroup> |
| 202 |
<PreBuildEvent>echo "Building Java Wrappers..." |
| 203 |
call "$(SolutionDir)\Wrappers\java\OpenNI.java\Build.bat" $(PlatformName) |
| 204 |
if errorlevel 1 exit 1 |
| 205 |
echo "Building SimpleViewer.java..." |
| 206 |
call "$(SolutionDir)\Samples\SimpleViewer.java\Build.bat" $(PlatformName) |
| 207 |
if errorlevel 1 exit 1 |
| 208 |
echo "Building Documentation..." |
| 209 |
"$(SolutionDir)\Source\Documentation\Runme.py" |
| 210 |
if errorlevel 1 exit 1 |
| 211 |
echo "Harvesting Files..." |
| 212 |
"$(ProjectDir)\..\Harvest.py" $(ProjectDir)\..\Output_$(PlatformName) $(PlatformName) |
| 213 |
if errorlevel 1 exit 1 |
| 214 |
echo "Creating File List..." |
| 215 |
"$(WIX)\bin\heat" dir "$(ProjectDir)\..\Output_$(PlatformName)" -ag -scom -sfrag -srd -dr INSTALLLOCATION -cg RedistComponentGroup -var var.RedistDir -out "$(ProjectDir)\Fragments\RedistFragments.wxs" -sw5150 |
| 216 |
if errorlevel 1 exit 1</PreBuildEvent> |
| 217 |
</PropertyGroup> |
| 218 |
<!-- |
| 219 |
To modify your build process, add your task inside one of the targets below and uncomment it. |
| 220 |
Other similar extension points exist, see Wix.targets. |
| 221 |
<Target Name="BeforeBuild"> |
| 222 |
</Target> |
| 223 |
<Target Name="AfterBuild"> |
| 224 |
</Target> |
| 225 |
--> |
| 226 |
</Project> |