Building using CMake: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 41: Line 41:


The easiest solution is to grab the 3rd-party dependencies build from Jenkins: [http://flightgear.simpits.org:8080/job/Mac-3rdparty-deps/lastSuccessfulBuild/artifact/*zip*/archive.zip]. This will give you a 'dist' directory containing PLIB, Subversion and OpenSceneGraph correctly configured. When configured SimGear and FlightGear, simply use this dist directory as CMAKE_INSTALL_PREFIX, and all the dependencies should be found with no other steps.
The easiest solution is to grab the 3rd-party dependencies build from Jenkins: [http://flightgear.simpits.org:8080/job/Mac-3rdparty-deps/lastSuccessfulBuild/artifact/*zip*/archive.zip]. This will give you a 'dist' directory containing PLIB, Subversion and OpenSceneGraph correctly configured. When configured SimGear and FlightGear, simply use this dist directory as CMAKE_INSTALL_PREFIX, and all the dependencies should be found with no other steps.
<pre>
mkdir FGFS
cd FGFS
# move the downloaded 'dist' dir from the zip inside FGFS
mv <dist dir from Jenkins> .
git clone git://gitorious.org/fg/simgear.git
git clone git://gitorious.org/fg/flightgear.git
mkdir sgbuild
cd sgbuild
cmake ../simgear -DCMAKE_INSTALL_PREFIX=$PWD/../dist
make; make install
cd ..
mkdir fgbuild
cd fgbuild
cmake ../flightgear -DCMAKE_INSTALL_PREFIX=$PWD/../dist
make; make install
</pre>


===Windows===
===Windows===
580

edits

Navigation menu