blob: 0b4701c85e330c2597e6f59c3bd555fa038f9682 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#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::vector<std::filesystem::path>& includepaths) 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;
};
|