Gerrit Voß wrote:

> ok, I did the changes, could you check if they make sense for you. 
> Small warning of which you most likely are aware, you have to start
> with a blank/empty cache to get these changes pulled in correctly as
> the compiler settings are manipulated only once in the very beginning.
>  
> I also updated the boost handling so the cmake file should respect 
> Boost_USE_STATIC_LIBS as set. Another small warning I stumbled across,
> the std cmake boost find mechanism only react to these settings 
> (static + mt) the very first time, once Boost has been found changing
> these flags/options does not change which boost libraries are used. 
> So you have to delete/clean the cache to get changes in.

Ok. Is there an easy way to warn the user of this? (I'm likely to forget t)

> PDB file are generated for all targets but I made the install optional
> (OSG_INSTALL_PDB_FILES). I also added an option
> (OSG_USE_SEPARATE_LIBDIRS) so you can choose  where the libs are placed
> during the install, the general lib dir or a target specific subdir. I
> still keep both .lib and .dll files in the lib dir, windows seems more
> to tend to install the .dll file in the bin dir. Would you prefer the
> bin dir or is the lib dir ok ?

We don't use the install directly anyway, so either is fine with me.

> If you have anything else let me know. One open issue is custom
> compiler flags. 
> 
> I'm also not sure all the 3rd party libs are handled correctly for
> all variants. I'll try to check this but it will take a second as
> windows builds are so slow ;( And I have to build the 3rd party 
> lib variants ;(

We/I need to reduce the #include-hogging for that.

I'll keep an eye open when it's time to compile. :)

Note that for third-party libs, we don't really need all those variants 
there. Just something built against debug/release runtimes. It's more a 
matter when debugging against OpenSG itself that these additional 
variants are useful.

Cheers,
/Marcs


------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to