Skip to content

[cmake] Added projects source dir as an interface include directory.

In projects linking to e.g. dunecommon one can automatically include files:

in LibA/Foo.cpp:

#include <dune/common/array.hh>

in CMakeLists.txt:

add_library(LibA ..)
target_link_libraries(LibA dunecommon)

Merge request reports