diff options
author | Brad King <brad.king@kitware.com> | 2003-11-26 22:38:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-11-26 22:38:37 (GMT) |
commit | 9229e6bc8b27556f913657d300e3c54a78770fc3 (patch) | |
tree | 8386a2a71a446abaf11e332cbbe72f35b2d2c086 /Source/cmLocalUnixMakefileGenerator.h | |
parent | 5bbc45d589ba0a5725c232c57de38d8e8ea97598 (diff) | |
download | CMake-9229e6bc8b27556f913657d300e3c54a78770fc3.zip CMake-9229e6bc8b27556f913657d300e3c54a78770fc3.tar.gz CMake-9229e6bc8b27556f913657d300e3c54a78770fc3.tar.bz2 |
ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.h')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.h b/Source/cmLocalUnixMakefileGenerator.h index 2bbb9d3..e6ca2cf 100644 --- a/Source/cmLocalUnixMakefileGenerator.h +++ b/Source/cmLocalUnixMakefileGenerator.h @@ -99,8 +99,6 @@ protected: void OutputLibraryRule(std::ostream& fout, const char* name, const cmTarget &t, - const char* prefix, - const char* suffix, const char* createRule, const char* comment, const char* linkFlags @@ -114,6 +112,7 @@ protected: const char* flags = 0, const char* objectsquoted = 0, const char* targetBase = 0, + const char* targetSOName = 0, const char* linkFlags = 0); virtual void OutputSharedLibraryRule(std::ostream&, const char* name, const cmTarget &); @@ -220,6 +219,16 @@ protected: /** Get the full name of the target's file, without path. */ std::string GetFullTargetName(const char* n, const cmTarget& t); + /** Get the base name of the target's file, without path or extension. */ + std::string GetBaseTargetName(const char* n, const cmTarget& t); + + /** Get the names associated with a library target. */ + void GetLibraryNames(const char* n, const cmTarget& t, + std::string& name, + std::string& soName, + std::string& realName, + std::string& baseName); + /** Output an echo command to the Makefile */ void OutputEcho(std::ostream& fout, const char *msg); |