[CMake] FetchContent or Export Targets

2019-03-23 Thread Jason Beach
Hi, As I've been learning CMake, it seems the best practice for a library is for it to export the targets it creates. There is also the relatively new command FetchContent. It seems that at least in part the FetchContent command obviates the need for exporting targets. I can see that for larger

Re: [CMake] conflict between configure & build steps in gitlab-runner script for Windows: Debug or Release build directory not found

2019-03-23 Thread Craig Scott
You have put -j8 before the --build option, but the --build option must be the first one. This ordering requirement is stated in the docs for the --build option in the "Build A Project" section. On Sat, Mar 23, 2019 at 1:00