From a7e016c2c633667b561a0f26ebde88cb26571d1c Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 10 May 2024 21:15:30 +0200 Subject: Build static and dynamic libs --- SONAME.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 SONAME.h (limited to 'SONAME.h') diff --git a/SONAME.h b/SONAME.h new file mode 100644 index 0000000..998f67f --- /dev/null +++ b/SONAME.h @@ -0,0 +1,18 @@ +#pragma once + +#include + +class SONAME +{ +public: + SONAME(); + SONAME(const std::string& s); // "" or "0" or "1.2.3" + + std::string getShortName() const; // "" + std::string getName() const; // ".X" + std::string getFullName() const; // ".X.Y.Z" +private: + std::string _soname; + std::string _soname_full; +}; + -- cgit v1.2.3