mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-05 10:10:44 +03:00
Provide an example of how to build and install cmake.
This commit is contained in:
parent
63c1d07d07
commit
3d337e9683
18
README.md
18
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
|
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.
|
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:
|
Finally, change your directory back to proton, and run:
|
||||||
|
|
||||||
cd ../proton
|
cd ../proton
|
||||||
|
Loading…
x
Reference in New Issue
Block a user