Superbuild: Difference between revisions

Jump to navigation Jump to search
1,689 bytes added ,  9 April 2015
no edit summary
m (I've succeed to superbuild it with VS Express 2012 WD thanks to https://gitorious.org/fg/flightgear/commit/d830430e6104ef71c387ae2bffc2b5414049e0d4 (topic: http://sourceforge.net/p/flightgear/mailman/message/32446764/))
No edit summary
Line 80: Line 80:


Make-based build works, XCode is more interesting. Probably only for the brave,
Make-based build works, XCode is more interesting. Probably only for the brave,
==Maintenance ==
{{FGCquote
  |the Superbuild script isn't very well documented for people interested in maintaining/extending it - on the other hand, cmake itself is relatively straightforward, and we should be able to work out what is needed to also build your osgEarth branch using the Superbuild. The main thing that the Superbuild is built around is the '''ExternalProject''' notion, which is included at the top of the file: [http://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/CMakeLists.txt#l3 http://sourceforge.net/p/flightgear/fgm ... sts.txt#l3]
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=238199#p238199
    |title=<nowiki>Re: Buildings in OsgEarth</nowiki>
    |author=<nowiki>Hooray</nowiki>
    |date=<nowiki>Thu Apr 09</nowiki>
  }}
}}
{{FGCquote
  |the main directive is '''ExternalProject_Add()''' - e.g. see the section which builds boost: [http://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/CMakeLists.txt#l26 http://sourceforge.net/p/flightgear/fgm ... ts.txt#l26]<br/>
<br/>
This directive is highly flexible and supports a huge variety of options (e.g. downloading options etc) - which are extensively covered at: [http://www.cmake.org/cmake/help/v3.0/module/ExternalProject.html http://www.cmake.org/cmake/help/v3.0/mo ... oject.html]<br/>
<br/>
An introduction can be found at: [http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html http://www.kitware.com/media/html/Build ... ke2.8.html]
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=238199#p238199
    |title=<nowiki>Re: Buildings in OsgEarth</nowiki>
    |author=<nowiki>Hooray</nowiki>
    |date=<nowiki>Thu Apr 09</nowiki>
  }}
}}


[[Category:Core development projects]]
[[Category:Core development projects]]
[[Category:Building from source]]
[[Category:Building from source]]

Navigation menu