Examples of ExternalProject

We need to incorporate a project that isn’t fully conducive to add_subdirectory. This project is intended to be installed and found using find_package. My understanding is we should use ExternalProject to add the project since the project will be frequently updated (IE we can’t use the stable tags).

Is there any examples I can reference? Am I on the right path?

ExternalProject doesn’t work all that well with add_library in the same project. I would recommend making a project that makes it and then just use find_package in the project consuming it (possibly with some pointers passed in through the other build).

1 Like

Project(s) using ExternalProject: