Hi,
I'm using CMake to build two C-based projects
The first CMake project builds several static libraries (ARM elf / eCos)
The second CMake project builds several application which do link
against the static libraries produced within the first project.
However, both CMake projects are unrelat
Emmanuel Blot wrote:
> Hi,
>
> I'm using CMake to build two C-based projects
>
> The first CMake project builds several static libraries (ARM elf / eCos)
> The second CMake project builds several application which do link
> against the static libraries produced within the first project.
> However
In the second project make sure you specify the libraries to link from
the first project by full path. Then the dependencies will be hooked
up. Without a full path CMake does not know how to add a build-time
dependency on a library. You can get a full path in the second
project
by using find
Emmanuel Blot wrote:
I tried the importing target feature, but unfortunately, it does not
seem to work as (I ?) expected.
[snip]
"touching" the libfoo.a never leads to relink the executable file.
You've got everything setup right AFAICS. Rebuilding should work correctly,
but it looks like t