Hi list,

I have a project that consists of several subdirectories. For example:

project-dir
+- component1
|  +- src
|  +- include-dir1
|  +- include-dir2
+- component2

Let's say I want "component2" to add "include-dir1" and "include-dir2"
from "component1" as include directories without "component2" knowing
that these two directories exist.

Therefore my question: Is there a way to import project
settings/properties which have been exported from other
subdirectories? And is cmake intended to be used like that?

I don't know whether I use the correct terms here but I hope that the
idea is clear.

Regards,
  Rainer
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to