![]() |
Consolix
|
Consolix is a header-only library. The recommended consumption model is through the aggregate entry headers:
The utility headers below are also intended to work as standalone direct includes:
Consolix supports C++11, C++14, and C++17.
The repository vendors external libraries under libs/.
Consolix remains header-only, but optional subsystems can rely on these vendored external libraries when their feature macros are enabled.
Optional integrations are disabled by default.
| Macro | Description | Default |
|---|---|---|
| CONSOLIX_USE_LOGIT | Enables LogIt integration | 0 |
| CONSOLIX_USE_CXXOPTS | Enables cxxopts integration | 0 |
| CONSOLIX_USE_JSON | Enables nlohmann/json integration | 0 |
The repository exports the Consolix::Consolix INTERFACE target.
Allowed values for CONSOLIX_CXX_STANDARD are 11, 14, and 17.
For normal consumer code, prefer the aggregate entry headers and the exported Consolix::Consolix target rather than reaching into vendored dependencies directly.