summaryrefslogtreecommitdiffhomepage
path: root/LanguageSettings.h
blob: 97519e3c1573379148917f17c8473f204a021673 (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
#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;
};