Will you cover CTest for a future video? Btw, love the CMake series :)
@ejovo2 жыл бұрын
I second ctest!
@chrisjthrasher3 жыл бұрын
I’ve found that FetchContent is perfect for grabbing testing frameworks. Tests aren’t part of a project’s API so vendoring this dependency should place no extra burden on packagers who will disable tests while providing a really convenient experience for developers and CI runners who may not have the specific test framework version already installed.
@Stradigos7 ай бұрын
How do you do this with Boost? I cannot figure that out. I'm using FetchContent to get it, and it configures it, but find_package does not work on it.
@Crossbow1233 жыл бұрын
I'm somewhat surprised though that neither the official CMake documentation nor the official CMake book mention any of this apart from the "raw" documentation of the functions.