Browse Source

msdev: print abspath

pull/2/head
mittorn 6 years ago committed by Alibek Omarov
parent
commit
9421963b29
  1. 7
      scripts/waflib/msdev.py

7
scripts/waflib/msdev.py

@ -594,10 +594,11 @@ class MsDevProject(MsDev): @@ -594,10 +594,11 @@ class MsDevProject(MsDev):
for uselib_inc in uselib_incs:
Logs.pprint('YELLOW', 'include ' + uselib_inc)
Logs.pprint('YELLOW', 'top_dir: ' + bld.top_dir)
Logs.pprint('YELLOW', 'path: ' + bld.path)
root = bld.top_dir.abspath().replace('\\', '/')
Logs.pprint('YELLOW', 'path: ' + bld.path.abspath())
Logs.pprint('YELLOW', 'root: ' + bld.root.abspath())
root = bld.root.abspath().replace('\\', '/')
pref = os.path.commonprefix([root, uselib_inc])
Logs.pprint('YELLOW', 'pref: ' + pref)
Logs.pprint('YELLOW', 'pref: ' + pref.abspath())
if pref == root:
node = bld.top_dir.find_dir(uselib_inc)
if node:

Loading…
Cancel
Save