Commit 3ca44029 authored by Florian Maushart's avatar Florian Maushart Committed by Brad King
Browse files

ctest: Fix --build-and-test without --build-target on Xcode

parent cb6c233e
......@@ -348,11 +348,13 @@ void cmGlobalXCodeGenerator::GenerateBuildCommand(
this->SelectMakeProgram(makeProgram, this->GetXcodeBuildCommand()));
if (!projectName.empty()) {
std::string projectArg = projectName;
projectArg += ".xcode";
projectArg += "proj";
bool clean = false;
std::string realTarget = targetName;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment