I am building to test it out.
A first question, the OPENSCENEGRAPH_SOVERSION is different from the OSG
version ? I am getting osg19-osg.dll, it is normal ?

On 8/30/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Over the last week there has been various discussions on the
> osg-submissions lists about refining the Windows build configuration
> so that it builds in a way that makes it easier to use without setting
> paths to plugins or libs.  Luigi Calori has very kindly down  all the
> hard work in experimenting with and managing to get CMake to get it to
> build in this way, and finally the culmination of this work is now
> checked into SVN.
>
> Key differences of the new build configuration are:
>
>   1) .lib for all the core libraries are built in OpenSceneGraph/lib
>
>   2) .dll's for all the core libraries are built in OpenSceneGarph/bin
>
>   3) dll's for all the core libraries are now built with osg-version
> prefix
>      i.e.  osg-version-osgUtil.dll
>
>   4) .dll's for all plugins are built in
> OpenSceneGarph/bin/osgPlugins-version
>
> A dry list, but... what it means to you as Window developers is pretty
> amazing
>
>   1) End of DLL hell is in sight - both core library dll's and plugins
> are versioned
>        so mixing multiple versions of the OSG on one system will now be
> far far
>        less painful than ever before
>
>   2) No need to set paths to find when the dll's or plugins are.
>
>   3) The build structure mirrors that what will be installed if you
> decide to install.
>
>   4) Install is now just an optional extra - you no longer need to do it
>
> I know I'm a uber geek, who doesn't even use Windows, but it seems
> mighty wholesome and pleasing to me :-)
>
> Now to make use of all this wholesome goodness you'll first need to
> update to the CMake 2.4.7 version as 2.4.6 isn't capable of doing the
> above.  As its all so new  Luigi has made the new build configuration
> an option, rather than the default build so you'll need to enable it.
> Finally its very new, and only tested by Luigi so far, so we'll need
> willing helpers to go test it.
>
> Below is a copy and paste from CMakeList.txt with a segment Luigi's
> added to explain a little about the new feature and how to enable it.
>
> Many thanks to Luigi for his efforts,
> Robert.
>
>
>
> ########################################################################################################
> # the foolowing options are MSVC specific,
> # the first OSG_MSVC_VERSIONED_DLL activate a custom build-time layout
> that should allow to run examples and application
> # fron bin folder without requiring installation step.
> # it also prepend "osg${OPENSCENEGRAPH_SOVERSION}-" to only .dll
> files, leaving .lib files untouched in lib
> # it also use a hack to get rid of Debug and Release folder in MSVC
> projects
> # all the .dll and .pdb are in bin and all the .lib and .exp are in lib
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to