On 10/19/2012 1:24 PM, Alan W. Irwin wrote:

So far this morning there have been no takers, but I hope that changes
since I am really stumped by CMake _intermittently_ not issuing the
correct link command for libraries with no consistent pattern I can
spot with regard to anything I change.

Couple of things to try:

run --trace on cmake and compare them. Maybe something odd is happening with your cmake variables. Also, look at the generated makefiles and find out what is different between the ones that work and the ones that don't.

If this can not be reproduced by running a set command line (some script you write), then I can't see how anyone can help you. If you create a script that can be run that shows this issue, we can try running it on a machine here. Other than that, I would suggest you use gdb on cmake, or printf debugging, and just start adding print statements in the cmake code until you find out what is going wrong.



--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to