| 928 | } |
| 929 | |
| 930 | void cmInstallTargetGenerator::AddUniversalInstallRule( |
| 931 | std::ostream& os, Indent indent, std::string const& toDestDirPath) |
| 932 | { |
| 933 | cmMakefile const* mf = this->Target->Target->GetMakefile(); |
| 934 | |
| 935 | if (!mf->PlatformIsAppleEmbedded() || !mf->IsOn("XCODE")) { |
| 936 | return; |
| 937 | } |
| 938 | |
| 939 | cmValue xcodeVersion = mf->GetDefinition("XCODE_VERSION"); |
| 940 | if (!xcodeVersion || |
| 941 | cmSystemTools::VersionCompareGreater("6", *xcodeVersion)) { |
| 942 | return; |
| 943 | } |
| 944 | |
| 945 | switch (this->Target->GetType()) { |
| 946 | case cmStateEnums::EXECUTABLE: |
| 947 | case cmStateEnums::STATIC_LIBRARY: |
| 948 | case cmStateEnums::SHARED_LIBRARY: |
| 949 | case cmStateEnums::MODULE_LIBRARY: |
| 950 | break; |
| 951 | |
| 952 | default: |
| 953 | return; |
| 954 | } |
| 955 | |
| 956 | if (!this->Target->Target->GetPropertyAsBool("IOS_INSTALL_COMBINED")) { |
| 957 | return; |
| 958 | } |
| 959 | |
| 960 | os << indent << "include(CMakeIOSInstallCombined)\n"; |
| 961 | os << indent << "ios_install_combined(" |
| 962 | << "\"" << this->Target->Target->GetName() << "\" " |
| 963 | << "\"" << toDestDirPath << "\")\n"; |
| 964 | } |
| 965 | |
| 966 | void cmInstallTargetGenerator::IssueCMP0095Warning( |
| 967 | std::string const& unescapedRpath) |
no test coverage detected