Re: [CMake] How to create transitive include dirs and preprocessor defs

2009-04-22 Thread Tyler Roscoe
On Wed, Apr 22, 2009 at 10:03:53AM +0200, Marcel Loose wrote: > Suppose that one of subA1's header files includes a header file from > ext1. I can specify this in subA1 CMakeLists file by using > include_directories(). However, subA2 will fail to compile when it > includes this header file, because

[CMake] How to create transitive include dirs and preprocessor defs

2009-04-22 Thread Marcel Loose
Hi all, I'm currently converting a medium-sized project from Autotools to CMake. In that project we used the concept of "packages", where we defined a package as a directory containing sources (and header files) that together form a logical unit and are translated into a object library. These pack