diff options
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,8 @@ #pragma once #include <filesystem> +#include <string> +#include <vector> extern const std::filesystem::path YMakefile; @@ -9,3 +11,7 @@ bool is_compile_unit_source_by_extension(const std::filesystem::path& p); // removes initial "./" std::filesystem::path simplified_path(const std::filesystem::path& p); + +std::string env_value(const std::string& key); +bool is_executable(const std::string& file); +std::string find_executable(const std::vector<std::string>& list); |