diff options
Diffstat (limited to 'LanguageSettings.h')
-rw-r--r-- | LanguageSettings.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/LanguageSettings.h b/LanguageSettings.h new file mode 100644 index 0000000..97519e3 --- /dev/null +++ b/LanguageSettings.h @@ -0,0 +1,26 @@ +#pragma once + +#include <filesystem> +#include <string> +#include <vector> + +class LanguageSettings +{ +public: + LanguageSettings(); + + std::string getCompileCommand(const std::filesystem::path& target, const std::filesystem::path &source) const; + std::string getLinkCommand(const std::filesystem::path& target, + const std::vector<std::filesystem::path> &inputs, + const std::vector<std::string>& link_libs) const; + std::string getDepCommand(const std::filesystem::path& target, const std::filesystem::path &source) const; + +private: + std::string CXX; + std::string CXXFLAGS; + + std::string LDFLAGS; + std::string LDLIBS; + std::string LIBS; +}; + |