On Tue, 2011-11-08 at 22:15 +0100, Frederic Bouvier wrote:
> ----- Mail original -----
> > 
> > On 8 Nov 2011, at 19:59, Frederic Bouvier wrote:
> > 
> > > FWIW, I added a TerraGear-Win-Cmake task to the Jenkins Server.
> > > Artifacts are archived.
> > 
> > Brilliant, thanks Fred.
> 
> I am still not sure about the right method to exclude OSG from the build.
> I added -DNO_OPENSCENEGRAPH_INTERFACE -DNO_TIMER to the MSVC flags, but I am
> curious to know how it is done for Linux or Mac.
> 
> Regards,
> -Fred
> 

Hi Fred,

In Ubuntu linux, because I do NOT have OSG installed in 
any 'standard' place, in my makefg script, I do -
 export CXXFLAGS="-DNO_OPENSCENEGRAPH_INTERFACE=1"
 export CFLAGS="-DNO_OPENSCENEGRAPH_INTERFACE=1"
to get terragear-cs to cmake build...

Maybe the CFLAGS is not needed. I did try adding -
-D CMAKE_CXX_FLAGS:STRING="-DNO_OPENSCENEGRAPH_INTERFACE=1"
but could NOT get that working... it was not passed to 
the compiler...

Regards,
Geoff.



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to