16 lines
524 B
C++
16 lines
524 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace breeze::cli
|
|
{
|
|
|
|
/// CLIForge reads every token that starts with '-' as an option, so `--cargs -DBUILD_TESTS=ON`
|
|
/// would try to find an option called -D. The values of the pass-through options (--cargs,
|
|
/// --bargs and run's --args/-x) are rewritten to the `--cargs=-DBUILD_TESTS=ON` form CLIForge
|
|
/// does accept, each taking tokens up to the next option of the command.
|
|
std::vector<std::string> normalizeArguments(const std::vector<std::string>& args);
|
|
|
|
}
|