[CMake] Specifying Project Dependencies in CMakeLists.xt

Sylvain Benner benner at virtools.com
Fri Feb 8 05:20:22 EST 2008


> I have a workspace in which there are 7 projects. If we open the 
> Workspace, then we can specify the dependencies using the menu 
> ‘Project’->’Dependencies…’.I want to specify these dependencies among 
> the various projects in CMakeLists.txt. Can that be done?
>
Yes it can be done with command ADD_DEPENDENCIES.
Be sure to check the documentation of CMake before posting ;-)

--Sylvain||*||*



More information about the CMake mailing list