|
CPGen
C++ project generator
|
Describes a CMake FetchContent dependency to be downloaded at build time. More...
#include <Module.hpp>
Public Attributes | |
| std::string | module_name |
| std::string | url |
| Archive URL or Git repository used for the download. | |
Describes a CMake FetchContent dependency to be downloaded at build time.
When a module declares a FetchContent block in its JSON definition, it is parsed into this struct and later injected into the generated CMakeLists.txt via a FetchContent_Declare / FetchContent_MakeAvailable call pair.
| std::string FetchContent::module_name |
Name passed to FetchContent_Declare (e.g. "googletest").
| std::string FetchContent::url |
Archive URL or Git repository used for the download.