Skip to content

Commit 8f3f3a5

Browse files
committed
LibSass: Updates solution to support VS2015.
1 parent 3b96c67 commit 8f3f3a5

File tree

7 files changed

+19
-18
lines changed

7 files changed

+19
-18
lines changed

libsass-net.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2013
4-
VisualStudioVersion = 12.0.31101.0
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23107.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LibSass", "libsass\LibSass.vcxproj", "{3A1CF114-A5C0-4BA2-8C0D-47001E361718}"
77
EndProject

libsass/LibSass.vcxproj

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|Win32">
55
<Configuration>Debug</Configuration>
@@ -44,8 +44,8 @@
4444
<CompileAsManaged>false</CompileAsManaged>
4545
</ClCompile>
4646
<ClCompile Include="native\inspect.cpp" />
47-
<ClCompile Include="native\json.cpp" >
48-
<CompileAsManaged>false</CompileAsManaged>
47+
<ClCompile Include="native\json.cpp">
48+
<CompileAsManaged>false</CompileAsManaged>
4949
</ClCompile>
5050
<ClCompile Include="native\node.cpp" />
5151
<ClCompile Include="native\emitter.cpp" />
@@ -139,36 +139,37 @@
139139
</ItemGroup>
140140
<PropertyGroup Label="Globals">
141141
<ProjectGuid>{3A1CF114-A5C0-4BA2-8C0D-47001E361718}</ProjectGuid>
142-
<Keyword>Win32Proj</Keyword>
143142
<RootNamespace>LibSass</RootNamespace>
144143
</PropertyGroup>
144+
<PropertyGroup Label="VS2013 toolset selection" Condition="'$(VisualStudioVersion)' == '12.0'">
145+
<PlatformToolset>v120</PlatformToolset>
146+
</PropertyGroup>
147+
<PropertyGroup Label="VS2015 toolset selection" Condition="'$(VisualStudioVersion)' == '14.0'">
148+
<PlatformToolset>v140</PlatformToolset>
149+
</PropertyGroup>
145150
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
146151
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
147152
<ConfigurationType>DynamicLibrary</ConfigurationType>
148153
<UseDebugLibraries>true</UseDebugLibraries>
149-
<PlatformToolset>v120</PlatformToolset>
150154
<CharacterSet>Unicode</CharacterSet>
151155
<CLRSupport>true</CLRSupport>
152156
</PropertyGroup>
153157
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
154158
<ConfigurationType>DynamicLibrary</ConfigurationType>
155159
<UseDebugLibraries>true</UseDebugLibraries>
156-
<PlatformToolset>v120</PlatformToolset>
157160
<CharacterSet>Unicode</CharacterSet>
158161
<CLRSupport>true</CLRSupport>
159162
</PropertyGroup>
160163
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
161164
<ConfigurationType>DynamicLibrary</ConfigurationType>
162165
<UseDebugLibraries>false</UseDebugLibraries>
163-
<PlatformToolset>v120</PlatformToolset>
164166
<WholeProgramOptimization>true</WholeProgramOptimization>
165167
<CharacterSet>Unicode</CharacterSet>
166168
<CLRSupport>true</CLRSupport>
167169
</PropertyGroup>
168170
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
169171
<ConfigurationType>DynamicLibrary</ConfigurationType>
170172
<UseDebugLibraries>false</UseDebugLibraries>
171-
<PlatformToolset>v120</PlatformToolset>
172173
<WholeProgramOptimization>true</WholeProgramOptimization>
173174
<CharacterSet>Unicode</CharacterSet>
174175
<CLRSupport>true</CLRSupport>
@@ -284,4 +285,4 @@
284285
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
285286
<ImportGroup Label="ExtensionTargets">
286287
</ImportGroup>
287-
</Project>
288+
</Project>

libsassnet.Tests/libsassnet.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

libsassnet.Web/libsassnet.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>

libsassnet.Web/libsassnet.Web.x64.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>

libsassnet/libsassnet.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -63,4 +63,4 @@
6363
<Target Name="AfterBuild">
6464
</Target>
6565
-->
66-
</Project>
66+
</Project>

libsassnet/libsassnet.x64.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -64,4 +64,4 @@
6464
<Target Name="AfterBuild">
6565
</Target>
6666
-->
67-
</Project>
67+
</Project>

0 commit comments

Comments
 (0)