[Scons-users] Includes from sibling directory
Gaurav Juvekar
gauravjuvekar at gmail.com
Tue Jan 10 23:56:57 EST 2017
Hi,
Does SCons properly set dependencies for header files in a sibling
directory in a variant build?
I have a structure like
src/a.c
include/a.h
tests/test_a.c
where a.c has #include "../include/a.h"
The include dependency is not automatically tracked by SCons.
I've set up the example at
https://github.com/gauravjuvekar/scons-includes-in-parent-dep-scan
I know that it will work if I add the include directory to CPPPATH. Is
there a way to do it without changing CPPPATH?
--
Regards,
Gaurav Juvekar
More information about the Scons-users
mailing list