diff options
author | Roland Reichwein <mail@reichwein.it> | 2024-05-10 21:15:30 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2024-05-10 21:15:30 +0200 |
commit | a7e016c2c633667b561a0f26ebde88cb26571d1c (patch) | |
tree | 7c66727de7022d5d962448be365dd059bb0ecac1 /SONAME.h | |
parent | bfdb4e9d2cfc7890c5f194e670039fa76c391330 (diff) |
Build static and dynamic libs
Diffstat (limited to 'SONAME.h')
-rw-r--r-- | SONAME.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 <string> + +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; +}; + |