Skip to content

Commit ac76997

Browse files
authored
Adding missing VisualStudio lz4 project (shader-slang#1657)
* #include an absolute path didn't work - because paths were taken to always be relative. * Added missing lz4 visual studio project.
1 parent 723796a commit ac76997

File tree

2 files changed

+192
-0
lines changed

2 files changed

+192
-0
lines changed

build/visual-studio/lz4/lz4.vcxproj

+165
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Debug|x64">
9+
<Configuration>Debug</Configuration>
10+
<Platform>x64</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Release|Win32">
13+
<Configuration>Release</Configuration>
14+
<Platform>Win32</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<ProjectGuid>{E1EC8075-823E-46E5-BC38-C124CCCDF878}</ProjectGuid>
23+
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
24+
<Keyword>Win32Proj</Keyword>
25+
<RootNamespace>lz4</RootNamespace>
26+
</PropertyGroup>
27+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29+
<ConfigurationType>StaticLibrary</ConfigurationType>
30+
<UseDebugLibraries>true</UseDebugLibraries>
31+
<CharacterSet>Unicode</CharacterSet>
32+
<PlatformToolset>v140</PlatformToolset>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
35+
<ConfigurationType>StaticLibrary</ConfigurationType>
36+
<UseDebugLibraries>true</UseDebugLibraries>
37+
<CharacterSet>Unicode</CharacterSet>
38+
<PlatformToolset>v140</PlatformToolset>
39+
</PropertyGroup>
40+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
41+
<ConfigurationType>StaticLibrary</ConfigurationType>
42+
<UseDebugLibraries>false</UseDebugLibraries>
43+
<CharacterSet>Unicode</CharacterSet>
44+
<PlatformToolset>v140</PlatformToolset>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
47+
<ConfigurationType>StaticLibrary</ConfigurationType>
48+
<UseDebugLibraries>false</UseDebugLibraries>
49+
<CharacterSet>Unicode</CharacterSet>
50+
<PlatformToolset>v140</PlatformToolset>
51+
</PropertyGroup>
52+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
53+
<ImportGroup Label="ExtensionSettings">
54+
</ImportGroup>
55+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
56+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57+
</ImportGroup>
58+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
59+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60+
</ImportGroup>
61+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
62+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63+
</ImportGroup>
64+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
65+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66+
</ImportGroup>
67+
<PropertyGroup Label="UserMacros" />
68+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
69+
<OutDir>..\..\..\bin\windows-x86\debug\</OutDir>
70+
<IntDir>..\..\..\intermediate\windows-x86\debug\lz4\</IntDir>
71+
<TargetName>lz4</TargetName>
72+
<TargetExt>.lib</TargetExt>
73+
</PropertyGroup>
74+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
75+
<OutDir>..\..\..\bin\windows-x64\debug\</OutDir>
76+
<IntDir>..\..\..\intermediate\windows-x64\debug\lz4\</IntDir>
77+
<TargetName>lz4</TargetName>
78+
<TargetExt>.lib</TargetExt>
79+
</PropertyGroup>
80+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81+
<OutDir>..\..\..\bin\windows-x86\release\</OutDir>
82+
<IntDir>..\..\..\intermediate\windows-x86\release\lz4\</IntDir>
83+
<TargetName>lz4</TargetName>
84+
<TargetExt>.lib</TargetExt>
85+
</PropertyGroup>
86+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
87+
<OutDir>..\..\..\bin\windows-x64\release\</OutDir>
88+
<IntDir>..\..\..\intermediate\windows-x64\release\lz4\</IntDir>
89+
<TargetName>lz4</TargetName>
90+
<TargetExt>.lib</TargetExt>
91+
</PropertyGroup>
92+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
93+
<ClCompile>
94+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
95+
<WarningLevel>Level3</WarningLevel>
96+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
97+
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
98+
<Optimization>Disabled</Optimization>
99+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
100+
</ClCompile>
101+
<Link>
102+
<SubSystem>Windows</SubSystem>
103+
<GenerateDebugInformation>true</GenerateDebugInformation>
104+
</Link>
105+
</ItemDefinitionGroup>
106+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
107+
<ClCompile>
108+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
109+
<WarningLevel>Level3</WarningLevel>
110+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111+
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
112+
<Optimization>Disabled</Optimization>
113+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
114+
</ClCompile>
115+
<Link>
116+
<SubSystem>Windows</SubSystem>
117+
<GenerateDebugInformation>true</GenerateDebugInformation>
118+
</Link>
119+
</ItemDefinitionGroup>
120+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
121+
<ClCompile>
122+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
123+
<WarningLevel>Level3</WarningLevel>
124+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
125+
<Optimization>Full</Optimization>
126+
<FunctionLevelLinking>true</FunctionLevelLinking>
127+
<IntrinsicFunctions>true</IntrinsicFunctions>
128+
<MinimalRebuild>false</MinimalRebuild>
129+
<StringPooling>true</StringPooling>
130+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
131+
</ClCompile>
132+
<Link>
133+
<SubSystem>Windows</SubSystem>
134+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
135+
<OptimizeReferences>true</OptimizeReferences>
136+
</Link>
137+
</ItemDefinitionGroup>
138+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
139+
<ClCompile>
140+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
141+
<WarningLevel>Level3</WarningLevel>
142+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
143+
<Optimization>Full</Optimization>
144+
<FunctionLevelLinking>true</FunctionLevelLinking>
145+
<IntrinsicFunctions>true</IntrinsicFunctions>
146+
<MinimalRebuild>false</MinimalRebuild>
147+
<StringPooling>true</StringPooling>
148+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
149+
</ClCompile>
150+
<Link>
151+
<SubSystem>Windows</SubSystem>
152+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
153+
<OptimizeReferences>true</OptimizeReferences>
154+
</Link>
155+
</ItemDefinitionGroup>
156+
<ItemGroup>
157+
<ClInclude Include="..\..\..\external\lz4\lib\lz4.h" />
158+
</ItemGroup>
159+
<ItemGroup>
160+
<ClCompile Include="..\..\..\external\lz4\lib\lz4.c" />
161+
</ItemGroup>
162+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
163+
<ImportGroup Label="ExtensionTargets">
164+
</ImportGroup>
165+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Header Files">
5+
<UniqueIdentifier>{21EB8090-0D4E-1035-B6D3-48EBA215DCB7}</UniqueIdentifier>
6+
</Filter>
7+
<Filter Include="external">
8+
<UniqueIdentifier>{2839F3DC-1406-4EE8-3D1F-3C90294B8376}</UniqueIdentifier>
9+
</Filter>
10+
<Filter Include="external\lz4">
11+
<UniqueIdentifier>{512ED728-3D91-66CD-E616-9F83D2583250}</UniqueIdentifier>
12+
</Filter>
13+
<Filter Include="external\lz4\lib">
14+
<UniqueIdentifier>{F78D9302-E386-B254-0CB9-97D9F8109260}</UniqueIdentifier>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<ClInclude Include="..\..\..\external\lz4\lib\lz4.h">
19+
<Filter>Header Files</Filter>
20+
</ClInclude>
21+
</ItemGroup>
22+
<ItemGroup>
23+
<ClCompile Include="..\..\..\external\lz4\lib\lz4.c">
24+
<Filter>external\lz4\lib</Filter>
25+
</ClCompile>
26+
</ItemGroup>
27+
</Project>

0 commit comments

Comments
 (0)