Hi,

I forgot to mention

If you have a CPackConfig.cmake/CPackSourceConfig.h in your source
tree, which you may have if you tested the previous osg cpack support,
you will get targets called package and package_source (PACKAGE in
msvs). These are no longer my doing. This is a feature in cmake - if
it finds a file called CPackConfig.cmake it generates a target for it.
Just remove the file(s)

Mattias

On Sun, Jan 11, 2009 at 11:12 PM, Mattias Helsing <[email protected]> wrote:
> Hi all, Robert
>
> I've finally finished the rework of the packaging support. It is
> streamlined for tgz and has most of the features that Robert, J-S and
> Sukender requested in december. I have an idea of how to discover the
> vc80 sp1 or not but haven't had time to implement. The script is
> completely reworked and now doesn't include cmakes' bundled
> CPack.cmake script at all. In summary:
>
> * filenames are
> <package>-<osgversion>-<platform>-<arch>[-compiler]-<configuration>.tar.gz,
> ex. libopenscenegraph-2.7.9-Linux-i386-Release.tar.gz,
> libopenthreads-dev-2.7.9-win32-x86-vc80sp1-Debug.tar.gz
>
> * targets (projects in msvs) are generated for each specified
> component, a target that packages everything that is installed
> (openscenegraph-all) and there's a target for running all other
> packaging targets (Package ALL on msvs, package_ALL in unix
> makefiles).
>
> * It is possible to set the compiler in ccmake (cmake-gui, whatever you use)
>
> * the top folder in packages is the same for all packages (OpenSceneGraph-x.y)
>
> * the packaging support is limited with cmake-2.6.0 and not as
> dynamic. With cmake-2.6.1 and later building the gdal plugin (for
> example) will create a package_libopenscenegraph-gdal target. With
> cmake-2.6.0 only the ones that are always built (libopenscenegraph,
> libopenscenegraph-dev, openscenegraph, libopenthreads,
> libopenthreads-dev
>
> * i found a better way to decide whether cpack is available to guard
> the BUiLD_OSG_PACKAGES option
>
> Mattias
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to