msdev: print abspath
This commit is contained in:
parent
239c13da28
commit
9421963b29
1 changed files with 4 additions and 3 deletions
|
@ -594,10 +594,11 @@ class MsDevProject(MsDev):
|
||||||
for uselib_inc in uselib_incs:
|
for uselib_inc in uselib_incs:
|
||||||
Logs.pprint('YELLOW', 'include ' + uselib_inc)
|
Logs.pprint('YELLOW', 'include ' + uselib_inc)
|
||||||
Logs.pprint('YELLOW', 'top_dir: ' + bld.top_dir)
|
Logs.pprint('YELLOW', 'top_dir: ' + bld.top_dir)
|
||||||
Logs.pprint('YELLOW', 'path: ' + bld.path)
|
Logs.pprint('YELLOW', 'path: ' + bld.path.abspath())
|
||||||
root = bld.top_dir.abspath().replace('\\', '/')
|
Logs.pprint('YELLOW', 'root: ' + bld.root.abspath())
|
||||||
|
root = bld.root.abspath().replace('\\', '/')
|
||||||
pref = os.path.commonprefix([root, uselib_inc])
|
pref = os.path.commonprefix([root, uselib_inc])
|
||||||
Logs.pprint('YELLOW', 'pref: ' + pref)
|
Logs.pprint('YELLOW', 'pref: ' + pref.abspath())
|
||||||
if pref == root:
|
if pref == root:
|
||||||
node = bld.top_dir.find_dir(uselib_inc)
|
node = bld.top_dir.find_dir(uselib_inc)
|
||||||
if node:
|
if node:
|
||||||
|
|
Loading…
Add table
Reference in a new issue