From 61d9e8699687342c2e32c32c8d4eb71760d5d290 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 26 Jun 2021 17:33:24 +0200 Subject: Use fork/exec instead of popen. Add Path class --- backend/BackendUtils.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backend/BackendUtils.hpp') 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 getCompilerCExecutable(sibs::Compiler compiler); + static std::vector getCompilerCppExecutable(sibs::Compiler compiler); + static std::vector getCompilerLinker(sibs::Compiler compiler); static RuntimeCompilerType getCCompilerType(sibs::Compiler compiler); static RuntimeCompilerType getCppCompilerType(sibs::Compiler compiler); }; -- cgit v1.2.3