[Scons-users] scons 'Install' builder could not recognize file changed
Ronex Dicapriyo
ronex_89 at yahoo.in
Thu Jul 3 10:46:22 EDT 2014
Hello,
I ntoiced a problem in scons Install builder that, it doesn't copies file even if it's changed.
SConscript.moduleA file:
lib_1 = env.SharedLibrary(...)
CUR_DIR = <pathofdirectory where this SConscript.moduleA is present >
file_list = Glob(os.path.join(CUR_DIR, 'dir-1', '*'))
copy_file = env.Install(os.path.join('common', 'dir-1'), file_list)
Install = env.Alias('install', [lib, copy_file])
for item in [lib, copy_file]
env.Depends('install', lib)
env.Default(Install)
SConscript.moduleB file:
# call to the SConscript.moduleA
SConscript(['<path_of_SConscript.moduleA>/SConscript.moduleA'], exports='env')
lib_2 = env.SharedLibrary(...)
env.Default(lib)
In SConscript.moduleB Ineed to call SConscript because of some dependencies of lib_2[0] on lib_1[0]. Here if lib_1[0] is not present then it gets builded, but install target doesn't executed.
Am I using it in a wrong way ?
Regards,
Ronex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140703/74e5ab2d/attachment.html>
More information about the Scons-users
mailing list