ExternalProject's CONFIGURE_COMMAND - can I "extend" instead of replacing it?

That’s probably the easiest, yes. Our superbuild has a patchset layer on top of ExternalProject to handle a PROCESS_ENVIRONMENT that handles such things on top of the configure, build, and install commands. It’s something I’ve wanted to clean up and actually get in ExternalProject proper, but I’ve not had the time :confused: . It also needs some adaptation to support things like:

  • CONFIGURE_ENV
  • BUILD_ENV
  • etc.