diff options
author | Roland Reichwein <mail@reichwein.it> | 2024-05-12 16:07:53 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2024-05-12 16:07:53 +0200 |
commit | 8a4dfbbbe76a2aef35427b7915d6e28bab165c43 (patch) | |
tree | 5df3fe373ca755d51d8b06b7515ca3c296f54cc6 /file.h | |
parent | a7e016c2c633667b561a0f26ebde88cb26571d1c (diff) |
Build static and dynamic libs
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ extern const std::filesystem::path YMakefile; bool is_buildable_by_extension(const std::filesystem::path& p); bool is_compile_unit_source_by_extension(const std::filesystem::path& p); +bool is_executable_target(const std::filesystem::path& p); bool is_dynamic_lib(const std::filesystem::path& p); +bool is_dynamic_lib_link(const std::filesystem::path& p); bool is_static_lib(const std::filesystem::path& p); std::filesystem::path soname_shorter(const std::filesystem::path& p); std::filesystem::path soname_short(const std::filesystem::path& p); @@ -18,5 +20,5 @@ std::filesystem::path soname_short(const std::filesystem::path& p); 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); +bool is_executable_command(const std::string& file); std::string find_executable(const std::vector<std::string>& list); |