Changeset 856c29ae in OpenModelica


Ignore:
Timestamp:
2021-11-21T21:14:59+01:00 (2 years ago)
Author:
Mahder Gebremedhin <mahder.geb@…>
Children:
d6193163
Parents:
aef8258
Message:

Generalize omc_add_subdirectory for multiple args.

  • the cmake add_subdirectory() function can take up to three arguments. Pass them through omc_add_subdirectory() as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cmake/omc_utils.cmake

    r757e9d6 r856c29ae  
    1313macro(omc_add_subdirectory var)
    1414  list(APPEND CMAKE_MESSAGE_CONTEXT ${var})
    15   add_subdirectory(${var})
     15  add_subdirectory(${ARGV0} ${ARGV1} ${ARGV2})
    1616  list(POP_BACK CMAKE_MESSAGE_CONTEXT)
    1717endmacro(omc_add_subdirectory)
Note: See TracChangeset for help on using the changeset viewer.