diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -8,6 +8,8 @@ #include <string> #include <filesystem> +std::string to_lower(const std::string& str); + std::string readFile(const std::string& fileName); std::vector<std::string> readDeps(const std::string& depFile); ctor::language languageFromExtension(const std::filesystem::path& file); @@ -19,7 +21,4 @@ void append(T& a, const T& b) a.insert(a.end(), b.begin(), b.end()); } -//using cxx_flags = std::vector<ctor::cxx_flag>; -//using c_flags = std::vector<std::string>; -//using ld_flags= std::vector<std::string>; -//using asm_flags = std::vector<std::string>; +ctor::target_type target_type_from_extension(const std::filesystem::path& file); |