diff options
author | David Cole <david.cole@kitware.com> | 2012-05-01 18:09:59 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-05-01 18:09:59 (GMT) |
commit | 8df7aa54f0f78d48e4ed91001ac9ac9d39dbf535 (patch) | |
tree | cfde4039510819e096c2bf197cfdc6e7827b6b0d /Source/cmMakefile.cxx | |
parent | d05e12bc166d4285ccd5e961bd48cc6eb95bc77f (diff) | |
parent | fdb3f878fec158ab284130a55849ada9edbd6fd1 (diff) | |
download | CMake-8df7aa54f0f78d48e4ed91001ac9ac9d39dbf535.zip CMake-8df7aa54f0f78d48e4ed91001ac9ac9d39dbf535.tar.gz CMake-8df7aa54f0f78d48e4ed91001ac9ac9d39dbf535.tar.bz2 |
Merge topic 'module-no-soname'
fdb3f87 Test NO_SONAME property (#13155)
e1409ac Support building shared libraries or modules without soname (#13155)
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 17bb5ed..0a709ae 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2195,6 +2195,14 @@ bool cmMakefile::PlatformIs64Bit() const return false; } +const char* cmMakefile::GetSONameFlag(const char* language) const +{ + std::string name = "CMAKE_SHARED_LIBRARY_SONAME_"; + name += language; + name += "_FLAG"; + return GetDefinition(name.c_str()); +} + bool cmMakefile::CanIWriteThisFile(const char* fileName) { if ( !this->IsOn("CMAKE_DISABLE_SOURCE_CHANGES") ) |