| 2424 | } |
| 2425 | |
| 2426 | void cmTarget::FinalizeTargetConfiguration(cmBTStringRange compileDefinitions) |
| 2427 | { |
| 2428 | if (this->GetType() == cmStateEnums::GLOBAL_TARGET) { |
| 2429 | return; |
| 2430 | } |
| 2431 | |
| 2432 | if (!CheckLinkLibraryPattern(this->impl->LinkLibraries, |
| 2433 | this->GetMakefile()->GetCMakeInstance()) || |
| 2434 | !CheckLinkLibraryPattern(this->impl->InterfaceLinkLibraries, |
| 2435 | this->GetMakefile()->GetCMakeInstance()) || |
| 2436 | !CheckLinkLibraryPattern(this->impl->InterfaceLinkLibrariesDirect, |
| 2437 | this->GetMakefile()->GetCMakeInstance())) { |
| 2438 | return; |
| 2439 | } |
| 2440 | |
| 2441 | this->AppendBuildInterfaceIncludes(); |
| 2442 | |
| 2443 | if (this->GetType() == cmStateEnums::INTERFACE_LIBRARY) { |
| 2444 | return; |
| 2445 | } |
| 2446 | |
| 2447 | for (auto const& def : compileDefinitions) { |
| 2448 | this->InsertCompileDefinition(def); |
| 2449 | } |
| 2450 | } |
| 2451 | |
| 2452 | void cmTarget::InsertInclude(BT<std::string> const& entry, bool before) |
| 2453 | { |
no test coverage detected