Re: [CMake] I broke get_preresiquites

2014-09-24 Thread Richard Shaw
I figured it out...

I'm cross-compiling MinGW on Fedora linux and it just dawned on me that the
cmake instance run by CPack probably isn't using the correct environment. I
think it would be best if this was handled automatically but for the time
being I pushed the required variables into the install script to make
GetPreresiquites work correctly, at least for the most part.

The function, get_preresiquites, has an option to exclude system libraries
but it doesn't seem to be doing that for me right now.

Thanks
Richard
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Re: [CMake] I broke get_preresiquites

2014-09-24 Thread David Cole via CMake
If you send some code, maybe somebody can spot something wrong with the code...

On Wed, Sep 24, 2014 at 9:57 AM, Richard Shaw  wrote:
> Ok, I have no idea what's going on.
>
> I'm using configure_file to put the get_preresiquites cmake script in the
> binary dir...
> It's running...
> It's not show any errors...
>
> It's also not finding any dependencies...
>
> I've double and triple checked that the variable I'm using in the message
> command is the same as what I'm using in get_preresiquites.
>
> But manually running objdump gives the correct output:
>
> $ objdump -p src/fldigi.exe | grep "DLL Name:"
> DLL Name: ADVAPI32.dll
> DLL Name: libfltk.dll
> DLL Name: libfltk_images.dll
> DLL Name: libgcc_s_sjlj-1.dll
> DLL Name: libintl-8.dll
> DLL Name: KERNEL32.dll
> DLL Name: msvcrt.dll
> DLL Name: libpng16-16.dll
> DLL Name: libportaudio-2.dll
> DLL Name: libwinpthread-1.dll
> DLL Name: libsamplerate-0.dll
> DLL Name: SHELL32.DLL
> DLL Name: libsndfile-1.dll
> DLL Name: libstdc++-6.dll
> DLL Name: USER32.dll
> DLL Name: WS2_32.dll
> DLL Name: WSOCK32.DLL
>
> Thanks,
> Richard
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


[CMake] I broke get_preresiquites

2014-09-24 Thread Richard Shaw
Ok, I have no idea what's going on.

I'm using configure_file to put the get_preresiquites cmake script in the
binary dir...
It's running...
It's not show any errors...

It's also not finding any dependencies...

I've double and triple checked that the variable I'm using in the message
command is the same as what I'm using in get_preresiquites.

But manually running objdump gives the correct output:

$ objdump -p src/fldigi.exe | grep "DLL Name:"
DLL Name: ADVAPI32.dll
DLL Name: libfltk.dll
DLL Name: libfltk_images.dll
DLL Name: libgcc_s_sjlj-1.dll
DLL Name: libintl-8.dll
DLL Name: KERNEL32.dll
DLL Name: msvcrt.dll
DLL Name: libpng16-16.dll
DLL Name: libportaudio-2.dll
DLL Name: libwinpthread-1.dll
DLL Name: libsamplerate-0.dll
DLL Name: SHELL32.DLL
DLL Name: libsndfile-1.dll
DLL Name: libstdc++-6.dll
DLL Name: USER32.dll
DLL Name: WS2_32.dll
DLL Name: WSOCK32.DLL

Thanks,
Richard
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake