Re: [CMake] Inconsistent lib dependancie/name for libnames with dots

2010-10-23 Thread Andreas Pakulat
On 23.10.10 16:45:16, Bastian Moldenhauer wrote: > >On 23.10.10 14:01:04, Bastian Moldenhauer wrote: > >> ADD_LIBRARY(b ${src}) > > >Note that this line above creates a target called 'b' which will build a > library called "b.lib". > > I undersand that. Just use this line instead: > ADD_LIBRARY(b

Re: [CMake] Inconsistent lib dependancie/name for libnames with dots

2010-10-23 Thread Bastian Moldenhauer
Hi, >On 23.10.10 14:01:04, Bastian Moldenhauer wrote: >> I think I found a bug in cmake, but since I am a bloody beginner with >> cmake don't hit me when I am wrong. >Either you're wrong or your posted sample is :) Wups, ok. The sample is broken. Sometimes double checking is not enough :-) >

Re: [CMake] Inconsistent lib dependancie/name for libnames with dots

2010-10-23 Thread Andreas Pakulat
On 23.10.10 14:01:04, Bastian Moldenhauer wrote: > I think I found a bug in cmake, but since I am a bloody beginner with cmake > don't hit me when I am wrong. Either you're wrong or your posted sample is :) > If I add a library using add_library(.) and the name of the lib contains a > dot cmake

[CMake] Inconsistent lib dependancie/name for libnames with dots

2010-10-23 Thread Bastian Moldenhauer
Hi, I think I found a bug in cmake, but since I am a bloody beginner with cmake don't hit me when I am wrong. Cmake Version: 2.8.0 Error: If I add a library using add_library(.) and the name of the lib contains a dot cmake will produce some wrong dependencies or use a wrong lib outpu