diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-09-20 14:57:15 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 3f117ba513d7f8ec8244103174f8635df7bd379b (patch) | |
tree | fb4d975158a733bae1f11ec399a667e1cc9dfd0f /backend/BackendUtils.hpp | |
parent | 078fe50351224d28592f1b2907585bd4fa551adf (diff) |
Use ninja library to generate build instead of raw string
Diffstat (limited to 'backend/BackendUtils.hpp')
-rw-r--r-- | backend/BackendUtils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/BackendUtils.hpp b/backend/BackendUtils.hpp index b2fe280..acef0ca 100644 --- a/backend/BackendUtils.hpp +++ b/backend/BackendUtils.hpp @@ -9,7 +9,7 @@ namespace backend class BackendUtils { public: - static bool isSourceFile(tinydir_file *file); - static void collectSourceFiles(const _tinydir_char_t *projectPath, Ninja *ninjaProject, const sibs::SibsConfig &sibsConfig); + static sibs::Language getFileLanguage(tinydir_file *file); + static void collectSourceFiles(const _tinydir_char_t *projectPath, Ninja *ninjaProject, const sibs::SibsConfig &sibsConfig, bool recursive = true); }; } |