From 3f117ba513d7f8ec8244103174f8635df7bd379b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 20 Sep 2018 14:57:15 +0200 Subject: Use ninja library to generate build instead of raw string --- backend/BackendUtils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/BackendUtils.hpp') 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); }; } -- cgit v1.2.3