| 1260 | } |
| 1261 | |
| 1262 | bool cmTarget::IsArchivedAIXSharedLibrary() const |
| 1263 | { |
| 1264 | if (this->GetType() == cmStateEnums::SHARED_LIBRARY && this->IsAIX()) { |
| 1265 | cmValue value = this->GetProperty("AIX_SHARED_LIBRARY_ARCHIVE"); |
| 1266 | if (!value.IsEmpty()) { |
| 1267 | return value.IsOn(); |
| 1268 | } |
| 1269 | if (this->IsImported()) { |
| 1270 | return false; |
| 1271 | } |
| 1272 | switch (this->GetPolicyStatusCMP0182()) { |
| 1273 | case cmPolicies::WARN: |
| 1274 | case cmPolicies::OLD: |
| 1275 | // The OLD behavior's default is to disable shared library archives. |
| 1276 | break; |
| 1277 | case cmPolicies::NEW: |
| 1278 | // The NEW behavior's default is to enable shared library archives. |
| 1279 | return true; |
| 1280 | } |
| 1281 | } |
| 1282 | return false; |
| 1283 | } |
| 1284 | |
| 1285 | bool cmTarget::IsAppBundleOnApple() const |
| 1286 | { |
no test coverage detected