更新 'README.md'

This commit is contained in:
zhongjin 2022-11-11 14:32:31 +08:00
parent 1d79bc5257
commit 33e635c64d

View File

@ -39,27 +39,27 @@ mv plib-mac-dist install
git clone https://git-x.kongjian.xin/FGFS-4.1/OpenSceneGraph.git
cd OpenSceneGraph
git checkout OpenSceneGraph-3.6.0
cd ..
mkdir osgbuild
cd osgbuild
cmake ../OpenSceneGraph/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../dist
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../../dist ..
make -j8
make install
cd ..
git clone https://git-x.kongjian.xin/FGFS-4.1/simgear.git
mkdir sgbuild
cd sgbuild
cmake ../simgear -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../dist
cd simgear
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../../dist ..
make -j8
make install
cd ..
git clone https://git-x.kongjian.xin/FGFS-4.1/flightgear.git
mkdir fgbuild
cd fgbuild
cmake ../flightgear -DCMAKE_BUILD_TYPE=Release -DFG_DATA_DIR=$PWD/../fgdata -DCMAKE_INSTALL_PREFIX=$PWD/../dist
cd flightgear
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DFG_DATA_DIR=$PWD/../../fgdata -DCMAKE_INSTALL_PREFIX=$PWD/../../dist ..
make -j8
make install