似乎 CPPPATH 不起作用
env = Environment()
target = 'app'
sources = ['app.d']
libs = ['phobos2', 'pthread', 'm', 'rt']
includes = ['/home/supertool/devel/d/vibe.d/source/vibe']
env.Program(target = target,
source = sources,
LIBS = libs,
CPPPATH = includes);
当我运行 scons 时,它会生成编译命令:
dmd -I. -c -ofapp.o app.d
includes
未添加到-I
部分
那么我该如何配置呢?有 INCLUDEPATH 吗?