| 770 | } |
| 771 | } |
| 772 | void cmFastbuildNormalTargetGenerator::AddLinkerLauncher() |
| 773 | { |
| 774 | std::string const linkerLauncher = |
| 775 | cmCommonTargetGenerator::GetLinkerLauncher(Config); |
| 776 | std::vector<std::string> args; |
| 777 | #ifdef _WIN32 |
| 778 | cmSystemTools::ParseWindowsCommandLine(linkerLauncher.c_str(), args); |
| 779 | #else |
| 780 | cmSystemTools::ParseUnixCommandLine(linkerLauncher.c_str(), args); |
| 781 | #endif |
| 782 | if (!args.empty()) { |
| 783 | std::string const exe = std::move(args[0]); |
| 784 | args.erase(args.begin()); |
| 785 | this->GetGlobalGenerator()->AddLauncher( |
| 786 | FASTBUILD_LINKER_LAUNCHER_PREFIX, exe, |
| 787 | this->GeneratorTarget->GetLinkerLanguage(Config), cmJoin(args, " ")); |
| 788 | } |
| 789 | } |
| 790 | void cmFastbuildNormalTargetGenerator::AddCMakeLauncher() |
| 791 | { |
| 792 | // Add CMake launcher (might be used for static analysis). |
nothing calls this directly
no test coverage detected