Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 755 Bytes

BUILDING.md

File metadata and controls

18 lines (13 loc) · 755 Bytes

On Windows

git clone --recurse https://github.com/IntriguingTiles/HLFixes

Open HLFixes.sln and build it. It should build with Visual Studio 2017 and up. I use VS2022 with MSVC v141_xp.

On Linux

git clone --recurse https://github.com/IntriguingTiles/HLFixes
cd Linux && mkdir build && cd build

If you're going to make a build that is intended to run on machines other than your own, you should build within the Steam Runtime SDK.

With Steam Runtime (schroot)

schroot --chroot steamrt_scout_i386 -- cmake -DCMAKE_CXX_COMPILER=g++-9 -DCMAKE_C_COMPILER=gcc-9 ..
schroot --chroot steamrt_scout_i386 -- make

Without Steam Runtime

cmake ..
make