diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-12-28 13:49:53 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-12 15:15:53 +0100 |
commit | cc4e14d243f4e7e1ad487d8865c5ffc8423e473d (patch) | |
tree | 10473afd8cf2f6bd6385e1d50b0e2699069fb3eb /src/ctor.h | |
parent | 430801b1307b4c820885f161d0b003011c892d77 (diff) |
Add detected toolchain to configuration.cc
Diffstat (limited to 'src/ctor.h')
-rw-r--r-- | src/ctor.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -58,6 +58,14 @@ struct source std::string output{}; }; +enum class toolchain +{ + any, + none, + gcc, + clang, +}; + struct flags { std::vector<std::string> cxxflags; // flags for c++ compiler @@ -146,6 +154,9 @@ struct configuration bool has(const std::string& key) const; const std::string& get(const std::string& key, const std::string& default_value = {}) const; + ctor::toolchain host_toolchain{ctor::toolchain::none}; + ctor::toolchain build_toolchain{ctor::toolchain::none}; + std::vector<std::string> args; // vector of arguments used when last calling configure std::map<std::string, std::string> env; // env used when last calling configure |