|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<Project ToolsVersion="14.0" DefaultTargets="Build;CopyLibSass" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 2 | +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | 3 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
4 | 4 | <PropertyGroup>
|
5 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
10 | 10 | <RootNamespace>LibSass</RootNamespace>
|
11 | 11 | <AssemblyName>LibSass.NET</AssemblyName>
|
12 | 12 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
| 13 | + <OutputPath>$(SolutionDir)bin\$(Configuration)\</OutputPath> |
| 14 | + <IntermediateOutputPath>$(SolutionDir)bin\$(Configuration)\obj\</IntermediateOutputPath> |
| 15 | + <ErrorReport>prompt</ErrorReport> |
| 16 | + <WarningLevel>4</WarningLevel> |
| 17 | + <Prefer32Bit>false</Prefer32Bit> |
| 18 | + <PlatformTarget>AnyCPU</PlatformTarget> |
13 | 19 | <FileAlignment>512</FileAlignment>
|
14 | 20 | </PropertyGroup>
|
15 | 21 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
16 | 22 | <DebugSymbols>true</DebugSymbols>
|
17 | 23 | <DebugType>full</DebugType>
|
18 | 24 | <Optimize>false</Optimize>
|
19 |
| - <OutputPath>$(SolutionDir)bin\Debug\</OutputPath> |
20 |
| - <IntermediateOutputPath>$(SolutionDir)bin\Debug\obj\</IntermediateOutputPath> |
21 | 25 | <DefineConstants>DEBUG;TRACE</DefineConstants>
|
22 |
| - <ErrorReport>prompt</ErrorReport> |
23 |
| - <WarningLevel>4</WarningLevel> |
24 |
| - <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies> |
25 | 26 | </PropertyGroup>
|
26 | 27 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
27 | 28 | <DebugType>pdbonly</DebugType>
|
28 | 29 | <Optimize>true</Optimize>
|
29 |
| - <OutputPath>$(SolutionDir)bin\Release\</OutputPath> |
30 |
| - <IntermediateOutputPath>$(SolutionDir)bin\Release\obj\</IntermediateOutputPath> |
31 | 30 | <DefineConstants>TRACE</DefineConstants>
|
32 |
| - <ErrorReport>prompt</ErrorReport> |
33 |
| - <WarningLevel>4</WarningLevel> |
34 | 31 | </PropertyGroup>
|
35 | 32 | <ItemGroup>
|
36 | 33 | <Compile Include="Compiler\Context\FunctionHandling.cs" />
|
|
77 | 74 | </ItemGroup>
|
78 | 75 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
79 | 76 | <!-- Build LibSass -->
|
80 |
| - <Target Name="CopyLibSass" DependsOnTargets="BuildLibSass"> |
81 |
| - <Copy SourceFiles="$(OutDir)x86\libsass.dll" DestinationFiles="$(OutDir)libsass32.dll" /> |
82 |
| - <Copy SourceFiles="$(OutDir)x64\libsass.dll" DestinationFiles="$(OutDir)libsass64.dll" /> |
83 |
| - </Target> |
84 |
| - <Target Name="BuildLibSass"> |
85 |
| - <MSBuild Targets="Build" Projects="..\LibSass\win\libsass.sln" BuildInParallel="true" Properties="Configuration=$(Configuration);Platform=Win32;OutDir=$(OutDir)x86\;IntDir=$(OutDir)x86\" /> |
86 |
| - <MSBuild Targets="Build" Projects="..\LibSass\win\libsass.sln" BuildInParallel="true" Properties="Configuration=$(Configuration);Platform=Win64;OutDir=$(OutDir)x64\;IntDir=$(OutDir)x64\" /> |
| 77 | + <Target Name="AfterBuild"> |
| 78 | + <MSBuild Targets="Build" Projects="..\LibSass\win\libsass.sln" BuildInParallel="true" Properties="Configuration=$(Configuration);Platform=Win32;TargetName=libsass32;OutDir=$(OutputPath);IntDir=$(IntermediateOutputPath)" /> |
| 79 | + <MSBuild Targets="Build" Projects="..\LibSass\win\libsass.sln" BuildInParallel="true" Properties="Configuration=$(Configuration);Platform=Win64;TargetName=libsass64;OutDir=$(OutputPath);IntDir=$(IntermediateOutputPath)" /> |
87 | 80 | </Target>
|
88 | 81 | </Project>
|
0 commit comments