Building using CMake: Difference between revisions

Jump to navigation Jump to search
m
Changed Gitorious and build server URLs + typo fix
m (Changed Gitorious and build server URLs + typo fix)
Line 51: Line 51:
* Install OpenSceneGraph.
* Install OpenSceneGraph.


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://build.flightgear.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>
<pre>
Line 62: Line 62:


# clone from Git
# clone from Git
git clone git://gitorious.org/fg/simgear.git
git clone git://git.code.sf.net/p/flightgear/simgear
git clone git://gitorious.org/fg/flightgear.git
git clone git://git.code.sf.net/p/flightgear/flightgear


mkdir sgbuild
mkdir sgbuild
Line 157: Line 157:
     cmake -DFEATURE_NAME=ON  ../flightgear
     cmake -DFEATURE_NAME=ON  ../flightgear


(or 'OFF' to disable )
(or 'OFF' to disable)


To see the variables that can be configured / are currently defined, you can
To see the variables that can be configured / are currently defined, you can
329

edits

Navigation menu