summaryrefslogtreecommitdiffhomepage
path: root/file.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2024-05-10 21:15:30 +0200
committerRoland Reichwein <mail@reichwein.it>2024-05-10 21:15:30 +0200
commita7e016c2c633667b561a0f26ebde88cb26571d1c (patch)
tree7c66727de7022d5d962448be365dd059bb0ecac1 /file.h
parentbfdb4e9d2cfc7890c5f194e670039fa76c391330 (diff)
Build static and dynamic libs
Diffstat (limited to 'file.h')
-rw-r--r--file.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/file.h b/file.h
index f951a27..ba3dfdd 100644
--- a/file.h
+++ b/file.h
@@ -9,6 +9,11 @@ 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_dynamic_lib(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);
+
// removes initial "./"
std::filesystem::path simplified_path(const std::filesystem::path& p);