Issues with ExternalProject, MultiConfig, CommandLine

Finally got a superbuild project up and running for a rather large case. Some notes from what I am seeing on a project that supports Windows / Linux / Mac, Clang (Windows, Unix) and MSVC (Windows).

  1. When changing configurations, I often get messages about attempts to clean and redownload the remote repos.

  2. Life would be much easier when creating and iterating on these builds if “–fresh” would cascade down into the superbuilds to cause a refresh of their projects as well.

Are you using CONFIGURE_HANDLED_BY_BUILD ExternalProject option? Ninja helps speed too vs Make.

Do you know CPM.cmake?