[Rock-dev] problems with include path in newly created libs
Sylvain Joyeux
bir.sylvain at gmail.com
Wed Dec 3 13:20:16 CET 2014
On Wed, Dec 3, 2014 at 10:13 AM, Sitta Buhmann <sbuhmann at marum.de> wrote:
> For testing purposes I created a lib with rock-create-lib test_include,
> added base/types to the dependencies (and it shows up in the manifest.xml),
> added #include <base/time.h> to the Dummy.hpp
I don't think that rock-create-lib adds base-types to the CMake code.
You would have to add
DEPS_PKGCONFIG base-types to src/CMakeLists.txt
Unfortunately, auto-adding the dependency at cmake level would be
difficult as we can't really guess what's the name of the pkg-config
file.
Sylvain
More information about the Rock-dev
mailing list