[CMake] subdirs and depenency handling

Alexander Neundorf a.neundorf-work at gmx.net
Sun May 8 09:20:17 EDT 2005


Hi, 
 
I got the following warning message: 
 
Library projectmanager_interfaces is defined using ADD_LIBRARY after the 
library is used using TARGET_LINK_LIBRARIES for the target 
kdevprojectmanager. This breaks CMake's dependency handling. Please fix 
the CMakeLists.txt file. 
 
kdevprojectmamager lives in 
kdevelop/buildtools/projectmanager/CMakeLists.txt, and 
projectmanager_interfaces is created in 
kdevelop/buildtools/projectmanager/interfaces/CMakeLists.txt. 
 
It seems to be exactly the same problem as here: 
http://public.kitware.com/pipermail/cmake/2004-July/005327.html 
 
Is this still the case or are there plans to change this behaviour ?  
In KDE there are several places where this structure is used and moving 
files around in all these places would be "problematic". 
 
Bye 
Alex 
 

-- 
+++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++
Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


More information about the CMake mailing list