Skip to content

Commit

Permalink
Remove dependency for libtk205 task (allow cmake to do it).
Browse files Browse the repository at this point in the history
  • Loading branch information
tanaya-mankad committed Sep 5, 2023
1 parent 04e5be9 commit 019045a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,9 @@ def task_web():
def task_libtk205():
'''Build libtk205'''
def configure_build(PAT):
subprocess.run(['cmake', f'-B {LIB_BUILD_PATH}', f'-DPA_TOKEN={PAT}', '-DBUILD_LIBTK205=ON', '-Dlibtk205_BUILD_TESTING=ON'], shell=True)
subprocess.run(f'cmake --build {LIB_BUILD_PATH} --config release', shell=True)
subprocess.run(f'cmake -B {LIB_BUILD_PATH} -DPA_TOKEN={PAT} -DBUILD_LIBTK205=ON -Dlibtk205_BUILD_TESTING=ON', cwd='.', shell=True, check=True)
subprocess.run(f'cmake --build {LIB_BUILD_PATH} --config Release', cwd='.', shell=True, check=True)
return {
'task_dep': ['build_schema'],
'params':[{'name':'PAT',
'long': 'PAT',
'default': ''}],
Expand Down

0 comments on commit 019045a

Please sign in to comment.