Hi Sukender,

But will there be a problem in MSVC when building the "package-XYZ" target? I 
mean if you build it in release, that's easy to say it depends on the release build for 
binaries (ALL_BUILD target for instance), but how can you say it also depends on the 
debug builds of the same targets?
As far as I know, it is impossible to do that under MSVC. So maybe we'll be forced to have separate 
debug and release packages... and what about those who build "MinSizeRel" or 
"RelWithDbgInfo" targets?

Yes, of course you're right.

One solution is to manually add the debug DLLs/libs to the packages afterwards.

Another possibility might be to just make the package_*-dev targets explicitly add the debug DLLs/libs to the .tar.gz packages without depending on the debug targets. So you would need to manually build debug before release, and then build the package targets.

It's a bit hackish. So perhaps we should just make separate -dev-release and -dev-debug packages, and make it clear that Windows developers who will need to run their application in debug will need both (as we've done in the past).

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to