From 3d337e96834f5f6f54f54e1c6a9f725564f384d9 Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Mon, 25 Jun 2018 10:58:37 -0500 Subject: [PATCH] Provide an example of how to build and install cmake. --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index b27648fd..f4ff2889 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,24 @@ the Steam runtime SDK provides. You will need to build and install a newer cmake into each of the runtimes. For convenience, the build_proton.sh script will attempt to use cmake from ~/opt32/bin/ and ~/opt64/bin/, if available. +The following example session obtained and built cmake: + cd /tmp + wget https://cmake.org/files/v3.11/cmake-3.11.4.tar.gz + schroot --chroot steamrt_scout_beta_i386 + tar -xzf cmake-3.11.4.tar.gz + cd cmake-3.11.4 + ./configure --parallel=4 --prefix=~/opt32 + make -j 4 && make install + exit + rm -rf cmake-3.11.4 + schroot --chroot steamrt_scout_beta_amd64 + tar -xzf cmake-3.11.4.tar.gz + cd cmake-3.11.4 + ./configure --parallel=4 --prefix=~/opt64 + make -j 4 && make install + exit + + Finally, change your directory back to proton, and run: cd ../proton