27 lines
515 B
C++
27 lines
515 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace clice {
|
|
|
|
struct Option {
|
|
/// predefined variables.
|
|
struct {
|
|
int argc;
|
|
const char** argv;
|
|
/// clice binary dictionary.
|
|
std::string binary;
|
|
/// workplace dictionary.
|
|
std::string workplace;
|
|
/// clang version.
|
|
std::string clang_version = "20";
|
|
};
|
|
|
|
std::string resource_dictionary;
|
|
std::string compile_commands_directory;
|
|
|
|
void parse(std::string_view workplace);
|
|
};
|
|
|
|
} // namespace clice
|