Debian Codegraph @

src/libsass/win/libsass.vcxproj

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="14.0" DefaultTargets="GitVersion;Main" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <PropertyGroup>
4 <LIBSASS_VERSION>[NA]</LIBSASS_VERSION>
5 <LIBSASS_SRC_DIR>..\src</LIBSASS_SRC_DIR>
6 <LIBSASS_HEADERS_DIR>..\src</LIBSASS_HEADERS_DIR>
7 <LIBSASS_INCLUDES_DIR>..\include</LIBSASS_INCLUDES_DIR>
8 </PropertyGroup>
9 <Target Name="GitVersion">
10 <Exec Command="git -C .. describe --abbrev=4 --dirty --always --tags" LogStandardErrorAsError="true" ContinueOnError="true" ConsoleToMSBuild="true">
11 <Output TaskParameter="ConsoleOutput" PropertyName="LIBSASS_VERSION" />
12 </Exec>
13 </Target>
14 <Target Name="VersionMacros">
15 <ItemGroup>
16 <ClCompile>
17 <PreprocessorDefinitions>%(PreprocessorDefinitions);LIBSASS_VERSION="$(LIBSASS_VERSION)";</PreprocessorDefinitions>
18 </ClCompile>
19 </ItemGroup>
20 </Target>
21 <Target Name="Main">
22 <Message Text="libsass: $(LIBSASS_VERSION)" />
23 <Message Condition="$(LIBSASS_STATIC_LIB) != ''" Text="Building Static LibSass" />
24 <Message Condition="$(LIBSASS_STATIC_LIB) == ''" Text="Building Dynamic LibSass" />
25 <CallTarget Targets="VersionMacros" />
26 <CallTarget Targets="Build" />
27 </Target>
28 <ItemGroup Label="ProjectConfigurations">
29 <ProjectConfiguration Include="Debug|Win32">
30 <Configuration>Debug</Configuration>
31 <Platform>Win32</Platform>
32 </ProjectConfiguration>
33 <ProjectConfiguration Include="Debug|x64">
34 <Configuration>Debug</Configuration>
35 <Platform>x64</Platform>
36 </ProjectConfiguration>
37 <ProjectConfiguration Include="Release|Win32">
38 <Configuration>Release</Configuration>
39 <Platform>Win32</Platform>
40 </ProjectConfiguration>
41 <ProjectConfiguration Include="Release|x64">
42 <Configuration>Release</Configuration>
43 <Platform>x64</Platform>
44 </ProjectConfiguration>
45 </ItemGroup>
46 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
47 <PropertyGroup Label="Globals">
48 <ProjectGuid>{E4030474-AFC9-4CC6-BEB6-D846F631502B}</ProjectGuid>
49 <Keyword>Win32Proj</Keyword>
50 <RootNamespace>libsass</RootNamespace>
51 </PropertyGroup>
52 <PropertyGroup Label="Common Properties">
53 <TargetName>libsass</TargetName>
54 <CharacterSet>Unicode</CharacterSet>
55 </PropertyGroup>
56 <PropertyGroup Condition="$(LIBSASS_STATIC_LIB) == ''">
57 <ConfigurationType>DynamicLibrary</ConfigurationType>
58 <PreprocessorDefinitions>ADD_EXPORTS;$(PreprocessorDefinitions);</PreprocessorDefinitions>
59 </PropertyGroup>
60 <PropertyGroup Condition="$(LIBSASS_STATIC_LIB) != ''">
61 <ConfigurationType>StaticLibrary</ConfigurationType>
62 </PropertyGroup>
63 <PropertyGroup Label="VS2013 toolset selection" Condition="'$(VisualStudioVersion)' == '12.0'">
64 <PlatformToolset>v120</PlatformToolset>
65 </PropertyGroup>
66 <PropertyGroup Label="VS2015 toolset selection" Condition="'$(VisualStudioVersion)' == '14.0'">
67 <PlatformToolset>v140</PlatformToolset>
68 </PropertyGroup>
69 <PropertyGroup Label="VS2017 toolset selection" Condition="'$(VisualStudioVersion)' == '15.0'">
70 <PlatformToolset>v141</PlatformToolset>
71 </PropertyGroup>
72 <PropertyGroup Label="VS2019 toolset selection" Condition="'$(VisualStudioVersion)' == '16.0'">
73 <PlatformToolset>v142</PlatformToolset>
74 </PropertyGroup>
75 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
76 <UseDebugLibraries>true</UseDebugLibraries>
77 </PropertyGroup>
78 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
79 <UseDebugLibraries>true</UseDebugLibraries>
80 </PropertyGroup>
81 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
82 <UseDebugLibraries>false</UseDebugLibraries>
83 <WholeProgramOptimization>true</WholeProgramOptimization>
84 </PropertyGroup>
85 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
86 <UseDebugLibraries>false</UseDebugLibraries>
87 <WholeProgramOptimization>true</WholeProgramOptimization>
88 </PropertyGroup>
89 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
90 <ImportGroup Label="ExtensionSettings">
91 </ImportGroup>
92 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
93 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
94 </ImportGroup>
95 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
96 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
97 </ImportGroup>
98 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
99 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
100 </ImportGroup>
101 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
102 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
103 </ImportGroup>
104 <PropertyGroup Label="UserMacros" />
105 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
106 <LinkIncremental>true</LinkIncremental>
107 <OutDir>$(SolutionDir)bin\Debug\</OutDir>
108 <IntDir>$(SolutionDir)bin\Debug\obj\</IntDir>
109 </PropertyGroup>
110 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
111 <LinkIncremental>true</LinkIncremental>
112 <OutDir>$(SolutionDir)bin\Debug\</OutDir>
113 <IntDir>$(SolutionDir)bin\Debug\obj\</IntDir>
114 </PropertyGroup>
115 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
116 <LinkIncremental>false</LinkIncremental>
117 <OutDir>$(SolutionDir)bin\</OutDir>
118 <IntDir>$(SolutionDir)bin\obj\</IntDir>
119 </PropertyGroup>
120 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
121 <LinkIncremental>false</LinkIncremental>
122 <OutDir>$(SolutionDir)bin\</OutDir>
123 <IntDir>$(SolutionDir)bin\obj\</IntDir>
124 </PropertyGroup>
125 <ItemDefinitionGroup>
126 <ClCompile>
127 <AdditionalIncludeDirectories>..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
128 </ClCompile>
129 </ItemDefinitionGroup>
130 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
131 <ClCompile>
132 <PrecompiledHeader>
133 </PrecompiledHeader>
134 <WarningLevel>Level3</WarningLevel>
135 <Optimization>Disabled</Optimization>
136 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;$(PreprocessorDefinitions);</PreprocessorDefinitions>
137 </ClCompile>
138 <Link>
139 <SubSystem>Console</SubSystem>
140 <GenerateDebugInformation>true</GenerateDebugInformation>
141 </Link>
142 </ItemDefinitionGroup>
143 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
144 <ClCompile>
145 <PrecompiledHeader>
146 </PrecompiledHeader>
147 <WarningLevel>Level3</WarningLevel>
148 <Optimization>Disabled</Optimization>
149 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;$(PreprocessorDefinitions);</PreprocessorDefinitions>
150 </ClCompile>
151 <Link>
152 <SubSystem>Console</SubSystem>
153 <GenerateDebugInformation>true</GenerateDebugInformation>
154 </Link>
155 </ItemDefinitionGroup>
156 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
157 <ClCompile>
158 <WarningLevel>Level3</WarningLevel>
159 <PrecompiledHeader>
160 </PrecompiledHeader>
161 <Optimization>MaxSpeed</Optimization>
162 <FunctionLevelLinking>true</FunctionLevelLinking>
163 <IntrinsicFunctions>true</IntrinsicFunctions>
164 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;$(PreprocessorDefinitions);</PreprocessorDefinitions>
165 </ClCompile>
166 <Link>
167 <SubSystem>Console</SubSystem>
168 <GenerateDebugInformation>true</GenerateDebugInformation>
169 <EnableCOMDATFolding>true</EnableCOMDATFolding>
170 <OptimizeReferences>true</OptimizeReferences>
171 </Link>
172 </ItemDefinitionGroup>
173 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
174 <ClCompile>
175 <WarningLevel>Level3</WarningLevel>
176 <PrecompiledHeader>
177 </PrecompiledHeader>
178 <Optimization>MaxSpeed</Optimization>
179 <FunctionLevelLinking>true</FunctionLevelLinking>
180 <IntrinsicFunctions>true</IntrinsicFunctions>
181 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;$(PreprocessorDefinitions);</PreprocessorDefinitions>
182 </ClCompile>
183 <Link>
184 <SubSystem>Console</SubSystem>
185 <GenerateDebugInformation>true</GenerateDebugInformation>
186 <EnableCOMDATFolding>true</EnableCOMDATFolding>
187 <OptimizeReferences>true</OptimizeReferences>
188 </Link>
189 </ItemDefinitionGroup>
190 <Import Project="libsass.targets" />
191 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
192 <ImportGroup Label="ExtensionTargets">
193 </ImportGroup>
194 </Project>