mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-18 14:52:25 +00:00
Fix for false elevation of priority in 'vcxproj_dependencies' [skip ci]
This commit is contained in:
parent
23a187f6c1
commit
9ac15d7a4b
@ -555,18 +555,22 @@ def check_for_version_discrepancies():
|
||||
for priority in priorities:
|
||||
if hints[library][reference][priority] == '':
|
||||
continue
|
||||
hint_found = False
|
||||
for hint in hints[library][reference][priority].split('|'):
|
||||
if not find_hint_in_path(hint, path) == -1:
|
||||
if priority > context_tree[project][build][resource][library][reference]:
|
||||
context_tree[project][build][resource][library][reference] = priority
|
||||
if context_tree[project][build][resource][library][reference] >\
|
||||
build_priorities[build][library]:
|
||||
build_priorities[build][library] =\
|
||||
context_tree[project][build][resource][library][reference]
|
||||
if context_tree[project][build][resource][library][reference] >\
|
||||
global_priorities[library]:
|
||||
global_priorities[library] =\
|
||||
context_tree[project][build][resource][library][reference]
|
||||
context_tree[project][build][resource][library][reference] = priority
|
||||
if context_tree[project][build][resource][library][reference] >\
|
||||
build_priorities[build][library]:
|
||||
build_priorities[build][library] =\
|
||||
context_tree[project][build][resource][library][reference]
|
||||
if context_tree[project][build][resource][library][reference] >\
|
||||
global_priorities[library]:
|
||||
global_priorities[library] =\
|
||||
context_tree[project][build][resource][library][reference]
|
||||
hint_found = True
|
||||
break
|
||||
if hint_found is True:
|
||||
break
|
||||
# loop for dumping 'global_priorities'
|
||||
twrite('{0}<Global>'.format(col1))
|
||||
for library in libraries:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user