diff --git a/add_include.py b/add_include.py new file mode 100644 index 0000000000000000000000000000000000000000..f7ae02f8fc33b0c50ad01d84ffd85401744dd1c2 --- /dev/null +++ b/add_include.py @@ -0,0 +1,5 @@ +from os.path import join +Import("env", "projenv") +# propagate to all construction environments +for e in env, projenv, DefaultEnvironment(): + e.Append(CCFLAGS=[("-I", join("examples", env.subst("$PIOENV")))])