plugify 1.0.0.0
Loading...
Searching...
No Matches
config.hpp
1#pragma once
2
3#include <filesystem>
4#include <set>
5#include <string>
6#include <optional>
7#include <plugify/log.hpp>
8
9namespace plugify {
14 struct Config final {
15 std::filesystem::path baseDir;
16 std::set<std::string> repositories;
17 std::optional<Severity> logSeverity;
18 std::optional<bool> preferOwnSymbols;
19 };
20} // namespace plugify
Represents configuration settings for a program.
Definition config.hpp:14
std::filesystem::path baseDir
The base directory for the program.
Definition config.hpp:15
std::optional< bool > preferOwnSymbols
Flag indicating if the modules should prefer its own symbols over shared symbols.
Definition config.hpp:18
std::optional< Severity > logSeverity
The severity level for logging.
Definition config.hpp:17
std::set< std::string > repositories
A collection of repository paths.
Definition config.hpp:16