Skip to content

Commit

Permalink
Pass waf install target in single command
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMeans committed Mar 4, 2020
1 parent dfed191 commit d95e1ef
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions CMakeLists-CODA.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ ExternalProject_Add_Step(coda-oss
ALWAYS 0
WORKING_DIRECTORY ${CODA_DIR})

foreach(module ${coda_modules})
ExternalProject_Add_Step(coda-oss
waf-build-${module}
COMMAND ${PYTHON} waf install --target=${module}
DEPENDEES waf-configure
DEPENDERS build
ALWAYS 0
WORKING_DIRECTORY ${CODA_DIR})
endforeach()

list(JOIN coda_modules , install_targets)
ExternalProject_Add_Step(coda-oss
waf-build-${module}
COMMAND ${PYTHON} waf install --target=${install_targets}
DEPENDEES waf-configure
DEPENDERS build
ALWAYS 0
WORKING_DIRECTORY ${CODA_DIR})

0 comments on commit d95e1ef

Please sign in to comment.