更新 '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 git clone https://git-x.kongjian.xin/FGFS-4.1/OpenSceneGraph.git
cd OpenSceneGraph cd OpenSceneGraph
git checkout OpenSceneGraph-3.6.0 git checkout OpenSceneGraph-3.6.0
cd .. mkdir build
mkdir osgbuild cd build
cd osgbuild cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../../dist ..
cmake ../OpenSceneGraph/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../dist
make -j8 make -j8
make install make install
cd .. cd ..
git clone https://git-x.kongjian.xin/FGFS-4.1/simgear.git git clone https://git-x.kongjian.xin/FGFS-4.1/simgear.git
mkdir sgbuild cd simgear
cd sgbuild mkdir build
cmake ../simgear -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../dist cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../../dist ..
make -j8 make -j8
make install make install
cd .. cd ..
git clone https://git-x.kongjian.xin/FGFS-4.1/flightgear.git git clone https://git-x.kongjian.xin/FGFS-4.1/flightgear.git
cd flightgear
mkdir fgbuild mkdir build
cd fgbuild cd build
cmake ../flightgear -DCMAKE_BUILD_TYPE=Release -DFG_DATA_DIR=$PWD/../fgdata -DCMAKE_INSTALL_PREFIX=$PWD/../dist cmake -DCMAKE_BUILD_TYPE=Release -DFG_DATA_DIR=$PWD/../../fgdata -DCMAKE_INSTALL_PREFIX=$PWD/../../dist ..
make -j8 make -j8
make install make install