On 06/07/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote:
On Friday 06 July 2007 07:45, Paul Richards wrote:
> Hi,
> I have one large CMakeLists.txt file which defines multiple static
> libraries. I'm currently using INCLUDE_DIRECTORIES which sets the
> include path for all of them at once. Can I set different include
> directories for each static lib?
This is currently not really possible, include directories are per directory.
There may be an improvement there in cmake 2.6 (which will still needs some
months) or you could use SET_TARGET_PROPERTIES(COMPILE_FLAGS "-I dir"), but
then cmake won't know about the include dirs and e.g. the dependency scanning
might not work.
What do you mean by "include directories are per directory"?
Each of my static libs is built from a single subdirectory of source
code. Is it possible to set different include paths for each
subdirectory of source code?
--
Paul Richards
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake