[CMake] Dependencies

Simon Drouin sdrouin at bic.mni.mcgill.ca
Wed Oct 20 10:56:19 EDT 2004


Hi,

I have the following directory structure:

project_root
project_root/Lib_A
project_root/Lib_B
project_root/App_A
project_root/App_B

Where App_A and App_B contain executable code and Lib_A and Lib_B 
contain code to generate a library. Both applications depend on both 
libraries. Is it possible that the Makefile (or project) generated by 
CMake in App_A calls Lib_A or Lib_B' s Makefile to make sure it is 
up-to-date?

In a recent post to the list, Bill Hoffman wrote:

In some future version of cmake it will support out of source source. So 
you can SUBDIR(/full/path/) to another project and build it as part of 
the current project.

Do I need to wait for that feature?

Thanks in advance.

Simon


More information about the CMake mailing list