[CMake] Null object passed to linker

Phil Smith phil at voltage.com
Thu Aug 7 12:08:44 EDT 2008


This is very odd.

I have:
        SET(CMAKE_C_LINK_EXECUTABLE   "c:/progra~1/dignus/linkit.bat -o <TARGET> <OBJECTS>")
and it works fine on my system.

On my colleague's system, LINKIT.BAT gets the same plist *but with an extra null value at the end*:
        -o cmTryCompileExec CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o ""

That makes the linker unhappy, as it tries to open the null file.

Any ideas what could be causing this??
--
...phsiii

Phil Smith III
phil at voltage.com
Voltage Security, Inc.
www.voltage.com
(703) 476-4511 (home office)
(703) 568-6662 (cell)




More information about the CMake mailing list