From 8a4dfbbbe76a2aef35427b7915d6e28bab165c43 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 12 May 2024 16:07:53 +0200 Subject: Build static and dynamic libs --- file.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'file.h') diff --git a/file.h b/file.h index ba3dfdd..a49825c 100644 --- a/file.h +++ b/file.h @@ -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& list); -- cgit v1.2.3