Curtis Olson wrote: > Is this an option to cmake at the "configure" step, or to make at the > build/install step?
The install prefix is set at the "configure" step - CMake is quite similar to Autoconf in this respect. To put an example, configuring SimGear on a setup with TerraSync/SVN explicitly disabled would look like this: # ${SRC}/simgear > cmake -D CMAKE_INSTALL_PREFIX=${FG_HOME} -D ENABLE_LIBSVN=OFF . # ${SRC}/simgear > make # ${SRC}/simgear > make install Additional flags are optional, similarly to Automake. > [...] What if I > want to pick up build libraries from a non-standard location ... maybe I'd > like to install a particular version of FG and a particular version of all > it's prerequisites somewhere strange like /opt/FlightGear-2.4/ so everything > it needs is self contained there and I can have other versions of the > prerequisites elsewhere? CMake in FlightGear does exactly this. "configure" .... eeeh, "cmake" with "-D CMAKE_INSTALL_PREFIX=${FG_HOME}" and it'll find SimGear in exactly this place. At least it's working this way for me and we'll try to make sure it will work on other people's setups the same way - if it doesn't already do so. Custom flags to find custom pre-requisites in custom places are being applied in a familiar manner (like "-D RTI_LIBRARY=/opt/OpenRTI/lib/libRTI-NG.so" for example). There are six weeks left until we're caught by the Automake deadline, two more months until feature freeze plus another two months until release. I'm pretty certain that's sufficient time to get the pending issues ironed out until release - at least for those setups whose maintainers are seriously interested in having a working build. Well, you'll never catch 100 % of the "help me, my build is broken - but I won't tell you, how ...."'s - that's life ;-) Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel