[Rock-dev] problems with include path in newly created libs SOLVED

Sitta Buhmann sbuhmann at marum.de
Wed Dec 3 13:28:18 CET 2014


SOLVED

Sorry, I forgot to add the

DEPS_PKGCONFIG


On 12/03/2014 01:20 PM, Sylvain Joyeux wrote:
> 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


-- 

Sitta Buhmann
MARUM
Centre for Marine Environmental Sciences
University of Bremen / Dept. of Geosciences
Leobener Str.
D-28359 Bremen

Phone:  +49 421 218 65613
Fax.:   +49 421 218 9865613
E-Mail: sbuhmann at marum.de
URL:    www.marum.de



More information about the Rock-dev mailing list