Re: [CMake] add_dependencies with an imported target

2009-03-06 Thread Brad King
Joachim de Vries wrote: CMake version 2.6 Mac OSX 10.5 XCode 3.0 My problem is that I have the situation I described in the bottom. I have one app and one lib in one project. If I change something in my lib everything is compiled and the app starts but the app didn't link the lib again.

[CMake] add_dependencies with an imported target

2009-03-05 Thread Joachim de Vries
CMake version 2.7-20080708 Mac OSX 10.5 XCode 3.0 I have a problem with add_dependencies. If I add an imported static lib like this: add_library(mylib STATIC IMPORTED) and try to add a dependency to this target on another target like this: add_dependencies(myapp mylib) I get the following

Re: [CMake] add_dependencies with an imported target

2009-03-05 Thread Joachim de Vries
CMake version 2.6 Mac OSX 10.5 XCode 3.0 My problem is that I have the situation I described in the bottom. I have one app and one lib in one project. If I change something in my lib everything is compiled and the app starts but the app didn't link the lib again. The only solution is to