summaryrefslogtreecommitdiffhomepage
path: root/LanguageSettings.h
blob: 83eaa09934d111b915db494092d1c09c451c00a5 (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
29
30
31
#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::filesystem::path& build,
                               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::filesystem::path>& 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;

 std::string AR;
};