66 lines
2.6 KiB
XML
66 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
|
<!--
|
|
Core Projects Are:
|
|
Lucene.Net,
|
|
Lucene.Net.Test,
|
|
-->
|
|
<PropertyGroup>
|
|
<MemoryFolder>$(BinFolder)\contrib\Memory\$(Configuration)</MemoryFolder>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Area)' == 'memory'">
|
|
<LocalBinFolder>$(BinFolder)\contrib\Memory\$(Configuration)</LocalBinFolder>
|
|
<ArtifactsFolder>$(BuildFolder)\artifacts\Memory</ArtifactsFolder>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="_memory_build">
|
|
<ItemGroup>
|
|
<MemoryProjectFiles Include="$(SourceFolder)\Contrib\Memory\*.csproj" />
|
|
<MemoryProjectFiles Include="$(TestFolder)\Contrib\Memory\*.csproj" />
|
|
</ItemGroup>
|
|
|
|
<MSBuild Projects="@(MemoryProjectFiles)" Properties="Configuration=$(Configuration);ExternalConstants=$(ExternalConstants)" />
|
|
<!-- Add "35" to the end of configuration to build .NET35 projects -->
|
|
<MSBuild Projects="@(MemoryProjectFiles)" Properties="Configuration=$(Configuration)35;ExternalConstants=$(ExternalConstants)" />
|
|
</Target>
|
|
|
|
<Target Name="_memory_properties">
|
|
<ItemGroup>
|
|
<!-- Binaries To Copy in case we which to store all build items -->
|
|
<BuildItems Include="$(MemoryFolder)\**\*.*" />
|
|
|
|
<!-- Assemblies To Test -->
|
|
<TestFiles Include="$(MemoryFolder)\**\Lucene.Net.Contrib.Memory.Test.dll" />
|
|
|
|
<!-- Files To Release -->
|
|
<ReleaseFiles Include="$(MemoryFolder)\**\Lucene.Net.Contrib.Memory.dll" />
|
|
<ReleaseFiles Include="$(MemoryFolder)\**\Lucene.Net.Contrib.Memory.XML" />
|
|
|
|
<!-- Files to Analysis -->
|
|
<AnalysisFiles Include="$(MemoryFolder)\**\Lucene.Net.Contrib.Memory.dll" />
|
|
</ItemGroup>
|
|
</Target>
|
|
|
|
<Target Name="BuildMemory">
|
|
<CallTarget Targets="_memory_build" />
|
|
<CallTarget Targets="_memory_properties" />
|
|
</Target>
|
|
</Project> |