[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Include dependencies for modules
From: |
Yvan Barthélemy |
Subject: |
Include dependencies for modules |
Date: |
Thu, 29 Nov 2007 15:30:55 +0100 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Include dependencies for modules,
Yvan Barthélemy <=