Hi Robert, On Mon, Dec 15, 2008 at 4:57 PM, Robert Osfield <[email protected]> wrote: > Hi Mattias, > > On Mon, Dec 15, 2008 at 3:16 PM, Mattias Helsing <[email protected]> wrote: >> I'm pondering how to do this best. My problem is that the CPack.cmake >> creates both the CPackSourceConfig.cmake *and* the package_source >> target automagically. There is the possiblity to ignore including >> CPack.cmake and provide all it's functionality (except generating the >> src target) ourselves. I don't think this is a very good solution long >> term so I'm trying to figure out how to trick it to hide this target. >> >> Adding our own target with svn export and tar/gzip/7zip won't be hard >> I think so I will have a bash at that. > > I don't think 7zip is really required, if tar.gz works fine on all > platforms then sticking with this would OK.
I was a bit unclear. On win32, cmake uses the 7-zip program (www.7-zip.org) to create tar.gz archives. Just tar.gz for all platforms will be great. This weekend I was wrongly under the impression that cmake could only use the 7-zip program to create zip or 7zip(the format) archives but cmake was better then I thought. So tar.gz it is. > > On the creation of source, this is already done on the server by a > script that that Jose Luis Hidalogo wrote, this runs any time I create > a tag. Hiding the autocreated target for source would be fine if > that's possible, but I don't think that this is a big issue if we have > a target that we don't use. It's not as if all OSG users will be > wanting to roll up their own source packages. It's only like that OSG > contributors will be creating packages so the task of educating/making > everything a slick as possible isn't critical. This has been my thought to. I should probably put a page about packaging on the wiki. I'll try some more and then try to get some discussion going on the cmake list. Mattias > > Robert. > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
