Re: [CMake] CMake with FetchContent instead of Git Submodules

2019-06-28 Thread Dustyn Blasig
Wow, how did I miss that when I was looking through the page yesterday? That's exactly what I need ; ) I may try going one step further and adding a flag _USE_CLONE=ON that will do the full checkout to a repos directory, initialize the repo to the target tag, and then set FETCHCONTENT_SOURCE_DIR_

Re: [CMake] CMake with FetchContent instead of Git Submodules

2019-06-28 Thread Craig Scott
On Fri, Jun 28, 2019 at 12:18 PM Dustyn Blasig wrote: > Hi All, > > I'm attempting to replace our use of git submodules with FetchContent > flows instead so we can pull pre-built packages if they already exist > instead of buildings locally. > > However, I need to support a flow similar to Git su

[CMake] CMake with FetchContent instead of Git Submodules

2019-06-27 Thread Dustyn Blasig
Hi All, I'm attempting to replace our use of git submodules with FetchContent flows instead so we can pull pre-built packages if they already exist instead of buildings locally. However, I need to support a flow similar to Git submodules where developers can edit a submodule and then rebuild the