aboutsummaryrefslogtreecommitdiff
path: root/backend/BackendUtils.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-09-20 14:57:15 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit3f117ba513d7f8ec8244103174f8635df7bd379b (patch)
treefb4d975158a733bae1f11ec399a667e1cc9dfd0f /backend/BackendUtils.hpp
parent078fe50351224d28592f1b2907585bd4fa551adf (diff)
Use ninja library to generate build instead of raw string
Diffstat (limited to 'backend/BackendUtils.hpp')
-rw-r--r--backend/BackendUtils.hpp4
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);
};
}