Source

SCons / test / TARGET-dir.py

Diff from to

test/TARGET-dir.py

 
 """
 Test use of ${TARGET.dir} to specify a CPPPATH directory in
-combination BuildDirs and a generated .h file.
+combination VariantDirs and a generated .h file.
 """
 
 import TestSCons
 env = Environment(CPPPATH='${TARGET.dir}')
 env.Append(BUILDERS = {'Cat' : Builder(action=cat)})
 Export('env')
-BuildDir('build1', 'src')
+VariantDir('build1', 'src')
 SConscript('build1/SConscript')
-BuildDir('build2', 'src')
+VariantDir('build2', 'src')
 SConscript('build2/SConscript', duplicate=0)
 """)