[CMake] BundleUtilities example not working under Windows?

David Cole david.cole at kitware.com
Tue Dec 21 18:52:30 EST 2010


On Tue, Dec 21, 2010 at 6:13 PM, Crni Gorac <cgorac at gmail.com> wrote:

> On Tue, Dec 21, 2010 at 10:27 PM, Crni Gorac <cgorac at gmail.com> wrote:
> >
> >    [ ... ]
> >
> >
> > Just an additional notice: I just discovered "--verbose" flag of
> > CPack, and it could be that the reason for fixup_bundle() not being
> > able to find dependencies is that I don't have dumpbin installed -
> > namely, I've noticed following warnings in CPack verbose output:
> > "CPack Verbose: warning: could not find 'dumpbin' - cannot analyze
> > prerequisites...".
>
> OK - I've installed VC++ Express 2010, containing dumpbin, and now
> installers get properly built, both for QtTest example, and for my
> application.  So - apologies for the distraction; on the other side,
> I'd still like to know if there are any comments regarding using
> alternative dependency scanning tools, like for example using objdump
> instead of dumpbin on Windows, say in case MinGW Makefiles generator
> used by CMake.
>
> Thanks.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


Proposed patches are always welcome. :-)

I do not have time to add a whole other dependency analysis tool into
GetPrerequisites any time in the near future, but if somebody else does, I'd
be happy to review it.

And I'm not sure what the best logic would be to decide to use this
alternate tool. Right now, we're simply expecting you to use "dumpbin"
within "if(WIN32)" blocks...


Thanks,
David Cole
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101221/4390bfdb/attachment.htm>


More information about the CMake mailing list