diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-09 21:50:36 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-12 16:39:59 (GMT) |
commit | 8d2e3e53b903b1ee38292b6bcdf3e4eeb5399a05 (patch) | |
tree | 295567f1447f996f7fbf7f4c7f2e9196810d475b /Source/cmGeneratorTarget.h | |
parent | a143d4ac60da28e12f8b81db39a11226bac8a516 (diff) | |
download | CMake-8d2e3e53b903b1ee38292b6bcdf3e4eeb5399a05.zip CMake-8d2e3e53b903b1ee38292b6bcdf3e4eeb5399a05.tar.gz CMake-8d2e3e53b903b1ee38292b6bcdf3e4eeb5399a05.tar.bz2 |
cmGeneratorTarget: Move HasImplibGNUtoMS from cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index b3519de..e2be249 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -390,6 +390,14 @@ public: ///! Return the preferred linker language for this target std::string GetLinkerLanguage(const std::string& config = "") const; + /** Does this target have a GNU implib to convert to MS format? */ + bool HasImplibGNUtoMS() const; + + /** Convert the given GNU import library name (.dll.a) to a name with a new + extension (.lib or ${CMAKE_IMPORT_LIBRARY_SUFFIX}). */ + bool GetImplibGNUtoMS(std::string const& gnuName, std::string& out, + const char* newExt = 0) const; + struct SourceFileFlags GetTargetSourceFileFlags(const cmSourceFile* sf) const; |