mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-25 09:22: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:
|
for priority in priorities:
|
||||||
if hints[library][reference][priority] == '':
|
if hints[library][reference][priority] == '':
|
||||||
continue
|
continue
|
||||||
|
hint_found = False
|
||||||
for hint in hints[library][reference][priority].split('|'):
|
for hint in hints[library][reference][priority].split('|'):
|
||||||
if not find_hint_in_path(hint, path) == -1:
|
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
|
||||||
context_tree[project][build][resource][library][reference] = priority
|
if context_tree[project][build][resource][library][reference] >\
|
||||||
if context_tree[project][build][resource][library][reference] >\
|
build_priorities[build][library]:
|
||||||
build_priorities[build][library]:
|
build_priorities[build][library] =\
|
||||||
build_priorities[build][library] =\
|
context_tree[project][build][resource][library][reference]
|
||||||
context_tree[project][build][resource][library][reference]
|
if context_tree[project][build][resource][library][reference] >\
|
||||||
if context_tree[project][build][resource][library][reference] >\
|
global_priorities[library]:
|
||||||
global_priorities[library]:
|
global_priorities[library] =\
|
||||||
global_priorities[library] =\
|
context_tree[project][build][resource][library][reference]
|
||||||
context_tree[project][build][resource][library][reference]
|
hint_found = True
|
||||||
|
break
|
||||||
|
if hint_found is True:
|
||||||
|
break
|
||||||
# loop for dumping 'global_priorities'
|
# loop for dumping 'global_priorities'
|
||||||
twrite('{0}<Global>'.format(col1))
|
twrite('{0}<Global>'.format(col1))
|
||||||
for library in libraries:
|
for library in libraries:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user