diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-06-26 17:33:24 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-06-26 17:33:24 +0200 |
commit | 61d9e8699687342c2e32c32c8d4eb71760d5d290 (patch) | |
tree | 9fd6ce694d857704ad369ac32f779c19ab4f665d /backend/BackendUtils.hpp | |
parent | 3a150e29cd1fa63614f45dff01240b01f9c4a025 (diff) |
Use fork/exec instead of popen. Add Path class
Diffstat (limited to 'backend/BackendUtils.hpp')
-rw-r--r-- | backend/BackendUtils.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/BackendUtils.hpp b/backend/BackendUtils.hpp index d53620c..9992e5c 100644 --- a/backend/BackendUtils.hpp +++ b/backend/BackendUtils.hpp @@ -21,9 +21,9 @@ namespace backend static sibs::Language getFileLanguage(const _tinydir_char_t *extension); static sibs::Language getFileLanguage(tinydir_file *file); static void collectSourceFiles(const _tinydir_char_t *projectPath, Ninja *ninjaProject, const sibs::SibsConfig &sibsConfig, bool recursive = true); - static std::string getCompilerCExecutable(sibs::Compiler compiler); - static std::string getCompilerCppExecutable(sibs::Compiler compiler); - static std::string getCompilerLinker(sibs::Compiler compiler); + static std::vector<sibs::FileString> getCompilerCExecutable(sibs::Compiler compiler); + static std::vector<sibs::FileString> getCompilerCppExecutable(sibs::Compiler compiler); + static std::vector<sibs::FileString> getCompilerLinker(sibs::Compiler compiler); static RuntimeCompilerType getCCompilerType(sibs::Compiler compiler); static RuntimeCompilerType getCppCompilerType(sibs::Compiler compiler); }; |