[CMake] cmake distcc

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jul 17 17:10:32 EDT 2008


On Thursday 17 July 2008, Vandenbroucke Sander wrote:
> Hi,
...
> Compiling is fine, distcc does it's job. Unfortunately my linker command
> is messed up. CMake used to generate something like this: nios2-elf-g++
> OBJECTS -lsystem ...
>
> With distcc this changes to: nios2-elf-g++  OBJECTS -lsystem.lib ...
> Ofcource there are no .lib libraries in my project...

You are using the native windows cmake, not the cygwin cmake, right ?
How do you add the "system" library ? Using TARGET_LINK_LIBRARIES() or via the 
link rule variable ?
Maybe cygwin distcc does something different which makes cmake think the 
current windows toolchain needs the ".lib" suffix ?

Alex


More information about the CMake mailing list