[CMake] Dependences to parallel project directories
Mathias Gaunard
mathias.gaunard at ens-lyon.org
Thu Aug 9 07:49:13 EDT 2012
On 08/08/2012 19:00, Tero Mäntyvaara wrote:
> Hi.
>
> I have got four CMake-projects: project1, project2, project3 and
> project4. Each project is in its own directory and these directories are
> parallel.
>
> Project2 is dependent on project1, project3 is dependent on project1 and
> project2. Project4 is dependent on project1 and project3.
>
> How can I include source files from other projects in projects2,
> project3 and project4?
Assuming all projects are sub-projects of a single master project, you
can make any target in any of those projects depend on any target in any
of the other projects.
More information about the CMake
mailing list