[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdegraphics/kolourpaint
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2008-04-21 19:59:45
Message-ID: 200804212159.45560.neundorf () kde ! org
[Download RAW message or body]

On Monday 21 April 2008, Christian Ehrlicher wrote:
> SVN commit 799489 by chehrlic:
>
> the long command line problem with mingw no longer exists and the hack used
> to circumvent this problem does no longer work because cmake 2.6 removes
> double targets from the list in target_link_libraries() -->
> target_link_libraries(foo a b a) becomes target_link_libraries(foo a b)
> which does not work with static libs when they need each other.

CMake should be able to handle that.

Can you create a minimal testcase ?
(i.e. a non-KDE project with a few static libs foo, bar, blub, each containing 
just a few functions foo1, foo2, bar1, bar2, etc., each in its own .c file, 
which link together and which shows the problem ?)

There was/is a issue how these libs are handled with cmake 2.4.x, in some 
cases too many libs are not added, but this shouldn't have been broken with 
cmake 2.6. If it really is then it is a cmake 2.6 bug.

Alex
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic