[CMake] Strange behaviour of CMake

Alexander Neundorf a.neundorf-work at gmx.net
Wed Mar 22 06:17:01 EST 2006


> Von: Xavier Delannoy <xavier.delannoy at netasq.com> 
>  
> hi all,  
>  
> I have two library, lib2 depends of lib1. Each lib are static and 
shared.  
> if I execute CMake in lib1 directory then in lib2. The project build 
> correctly, whereas if I execute CMake in the root directory of my 
project, I 
> obtain this error : "No rule to make target tmp/libn1.a needed by 
> tmp/libn2.dylib"  
>  
> I have this issue under FreeBSD, Linux, MacOS X (I have not yet tested 
> with Win32) 
>  
> in attach you'll find an example of the problem. 
>  
> the script build.sh execute CMake in the root directory of the project, 
> then build the project. 
>  
> the script build2.sh execute CMake in each library directory then build 
> the project. 
>  
> Do I mistake ? or is this a bug ? 
>  
> best regards,  
>  
> --  
> Xavier Delannoy 
 
Which version of cmake are you using ? 
 
Bye 
Alex 

-- 
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net


More information about the CMake mailing list