| 1921 | } |
| 1922 | |
| 1923 | std::string cmLocalGenerator::GetExeExportFlags( |
| 1924 | std::string const& linkLanguage, cmGeneratorTarget& tgt) const |
| 1925 | { |
| 1926 | std::string linkFlags; |
| 1927 | |
| 1928 | // Flags to export symbols from an executable. |
| 1929 | if (tgt.GetType() == cmStateEnums::EXECUTABLE && |
| 1930 | this->StateSnapshot.GetState()->GetGlobalPropertyAsBool( |
| 1931 | "TARGET_SUPPORTS_SHARED_LIBS")) { |
| 1932 | // Only add the flags if ENABLE_EXPORTS is on, |
| 1933 | // except on AIX where we compute symbol exports. |
| 1934 | if (!tgt.IsAIX() && tgt.GetPropertyAsBool("ENABLE_EXPORTS")) { |
| 1935 | linkFlags = this->Makefile->GetSafeDefinition( |
| 1936 | cmStrCat("CMAKE_SHARED_LIBRARY_LINK_", linkLanguage, "_FLAGS")); |
| 1937 | } |
| 1938 | } |
| 1939 | return linkFlags; |
| 1940 | } |
| 1941 | |
| 1942 | bool cmLocalGenerator::AllAppleArchSysrootsAreTheSame( |
| 1943 | std::vector<std::string> const& archs, cmValue sysroot) |
no test coverage detected