Hi,

I am trying to organize my source folder the following way :
currently, I have the following :
/include/modA/foo.h
/include/modB/bar.h
/module/modA/src/foo.c
/module/modB/src/bar.c

In my c sources, I have my include like this (ie. in foo.c) :
#include <foo.h>
#include <modB/bar.h>

I would like to have the following source organization without
changing my include directives :
/src/modA/include/foo.h
/src/modA/foo.c
/src/modB/include/bar.h
/src/modB/bar.c

To achieve this, I tried to use pkginclude_HEADERS, it moves the files
and build the source root include directory correctly (using --prefix
in configure), but only at install time. How can I achieve the same
results but before build time ?

Otherwise, how to specify module dependencies (module X depends on module Y) ?

Thanks for help,
Yvan


Reply via email to