On Mon, Jul 20, 2009 at 2:12 PM, Clinton Stimpson wrote:
>
> Would the general cmake solution for find_program/find_library do something
> like this:
> dumpbin /headers {some.lib|some.dll|some.exe} | findstr "machine" ?
> I get either AMD64 or x86 in the output from that.
Yes. Or something that
Would the general cmake solution for find_program/find_library do
something like this:
dumpbin /headers {some.lib|some.dll|some.exe} | findstr "machine" ?
I get either AMD64 or x86 in the output from that.
If find_program did it right, then gp_resolve_item would give me the
right .dll file.
On Mon, Jul 20, 2009 at 1:39 PM, Clinton Stimpson wrote:
>
> Thanks. Do you know if gp_resolve_item handles 64 and 32 bit binaries
> correctly on Windows?
Definitely not. On Windows, it uses find_program to find the dlls in the
PATH or in a list of directories provided by the caller... This is
Thanks. Do you know if gp_resolve_item handles 64 and 32 bit binaries
correctly on Windows?
"dumpbin /dependents" is used and it doesn't return full paths like ldd
does on Linux, or otool on Mac.
I put both in my PATH, so I can run both 32 and 64 bit programs. I just
wanted to make sure I wa
On Fri, Jul 17, 2009 at 6:48 PM, David Cole wrote:
> No. It's supposed to return the actual string that is referenced by the
> thing being analyzed. But you can call gp_resolve_item to get the full
> path... (There is a reason for this, although I can't remember what it is at
> the moment... If I
No. It's supposed to return the actual string that is referenced by the
thing being analyzed. But you can call gp_resolve_item to get the full
path... (There is a reason for this, although I can't remember what it is at
the moment... If I think of it, I'll reply again.)
>From commentary in the midd
Is get_prerequisites() supposed to return absolute paths all the time?
For example, on the Mac, I've got some frameworks in /Library/Frameworks
that I may want to copy if they might not exist on other Macs. When I
call get_prerequisites(), getting "foo.framwork/" instead of
"/Library/Framewor
So I would love to see a corollary to BundleUtilities.cmake for Mac on
Windows and Linux, too.
Using GetPrerequisites to gather the set of dependent files is obviously the
first step.
Then, on Windows, a function that installs all the dependent dlls to the
same location as the executable would be
So I'm using GetPrequisites.cmake to gather dependencies.
Are there any examples, tips, etc.. for using this?
With the results I'm getting back, I do a
file(INSTALL ... ) because that's what I see in the cmake_installcmake
file. Should it be documented?
But these files I'm getting back are soft