Files
clice/include/Server/Option.h
2024-09-11 22:40:05 +08:00

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