Skip to content

Commit

Permalink
Fixing merge horrors and setting up SDK versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nievesj committed Apr 25, 2024
1 parent 8f6d5f6 commit a41bccc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
3 changes: 0 additions & 3 deletions Code/Tools/FBuild/FBuildCore/Helpers/Compressor.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ class Compressor

// Decompress (handled all formats including uncompressed)
bool Decompress( const void * data );

// Zstd
bool CompressZstd( const void * data, size_t dataSize, int32_t compressionLevel = -1 ); // -1 = default Zstd compression level
bool DecompressZstd( const void * data );

const void * GetResult() const { return m_Result; }
Expand Down
3 changes: 0 additions & 3 deletions Code/Tools/FBuild/FBuildWorker/FBuildWorkerOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ class FBuildWorkerOptions
// Other
bool m_PeriodicRestart;

// Other
bool m_PeriodicRestart;

private:
void ShowUsageError();
};
Expand Down
12 changes: 6 additions & 6 deletions External/SDK/VisualStudio/VS2022.bff
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
// 2) Specified via environment variables (VS Command Prompt)
// 3) Part of a Visual Studio installation (Program Files)
//
#if file_exists( "2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" )
#if file_exists( "2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe" )
//
// Use vendorized toolchain - v17.8.3
//
.VS2022_BasePath = '$_CURRENT_BFF_DIR_$/2022/Community/VC'
.VS2022_Version = '14.38.33130'
.VS2022_Version = '14.39.33519'
.VS2022_MSC_VER = '1938'
#else
//
Expand All @@ -29,19 +29,19 @@
//
// Use Visual Studio installation
//
#if file_exists( "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" )
#if file_exists( "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe" )
// v17.8.3
.VS2022_BasePath = 'C:/Program Files/Microsoft Visual Studio/2022/Community/VC'
.VS2022_Version = '14.38.33130'
.VS2022_Version = '14.39.33519'
.VS2022_MSC_VER = '1938'
#else
//
// Use Visual Studio 2022 Enterprise installation (used by GitHub Actions)
//
#if file_exists( "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" )
#if file_exists( "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe" )
// v17.8.3
.VS2022_BasePath = 'C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC'
.VS2022_Version = '14.38.33130'
.VS2022_Version = '14.39.33519'
.VS2022_MSC_VER = '1938'
#else
//
Expand Down
8 changes: 4 additions & 4 deletions External/SDK/Windows/Windows10SDK.bff
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
// 1) Vendorized in External (side by side with this bff)
// 2) Part of a Windows 10 installation (Program Files)
//
#if file_exists( "10\bin\10.0.19041.0\x64\RC.exe" )
#if file_exists( "10\bin\10.0.22621.0\x64\RC.exe" )
//
// Use vendorized toolchain
//
.Windows10_SDKBasePath = '$_CURRENT_BFF_DIR_$\10'
.Windows10_SDKVersion = '10.0.19041.0'
.Windows10_SDKVersion = '10.0.22621.0'
#else
//
// Use Windows10SDK installation
//
#if file_exists( "C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\RC.exe" )
#if file_exists( "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\RC.exe" )
.Windows10_SDKBasePath = 'C:\Program Files (x86)\Windows Kits\10'
.Windows10_SDKVersion = '10.0.19041.0'
.Windows10_SDKVersion = '10.0.22621.0'
#else
//
// Failed
Expand Down

0 comments on commit a41bccc

Please sign in to comment.