Skip to content

Commit

Permalink
Add build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
IntriguingTiles committed Nov 12, 2022
1 parent a3b44cf commit b9c6ed8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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 intented to run on machines other than your own, you should build within the [Steam Runtime SDK](https://gitlab.steamos.cloud/steamrt/scout/sdk/-/blob/steamrt/scout/README.md).

## 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`

0 comments on commit b9c6ed8

Please sign in to comment.