Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
cmake_minimum_required(VERSION 3.13) | ||
|
||
# We only want the static library, nothing else. | ||
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) | ||
set(LZ4_BUILD_CLI OFF) | ||
set(LZ4_BUILD_LEGACY_LZ4C OFF) | ||
set(LZ4_BUNDLED_MODE ON) | ||
|
||
add_subdirectory(lz4/build/cmake) | ||
|
||
dolphin_disable_warnings_msvc(lz4_static) | ||
add_library(LZ4::LZ4 ALIAS lz4_static) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<Import Project="..\..\Source\VSProps\Base.Macros.props" /> | ||
<Import Project="$(VSPropsDir)Base.Targets.props" /> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{9092C5CC-3E71-41B3-BF68-4A7BDD8A5476}</ProjectGuid> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<Import Project="$(VSPropsDir)Configuration.StaticLibrary.props" /> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Label="ExtensionSettings" /> | ||
<ImportGroup Label="PropertySheets"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
<Import Project="$(VSPropsDir)Base.props" /> | ||
<Import Project="$(VSPropsDir)ClDisableAllWarnings.props" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="UserMacros" /> | ||
<ItemGroup> | ||
<ClInclude Include="lz4\lib\lz4.h" /> | ||
<ClInclude Include="lz4\lib\lz4frame.h" /> | ||
<ClInclude Include="lz4\lib\lz4frame_static.h" /> | ||
<ClInclude Include="lz4\lib\lz4hc.h" /> | ||
<ClInclude Include="lz4\lib\xxhash.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="lz4\lib\lz4.c" /> | ||
<ClCompile Include="lz4\lib\lz4frame.c" /> | ||
<ClCompile Include="lz4\lib\lz4hc.c" /> | ||
<ClCompile Include="lz4\lib\xxhash.c" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<ItemDefinitionGroup> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>$(ExternalsDir)lz4\lz4\lib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="$(ExternalsDir)LZ4\LZ4.vcxproj"> | ||
<Project>{9092C5CC-3E71-41B3-BF68-4A7BDD8A5476}</Project> | ||
</ProjectReference> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -627,6 +627,7 @@ PRIVATE | |
FatFs | ||
fmt::fmt | ||
LZO::LZO | ||
LZ4::LZ4 | ||
ZLIB::ZLIB | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters