Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
3ca44029
Commit
3ca44029
authored
Jun 26, 2018
by
Florian Maushart
Committed by
Brad King
Jan 25, 2019
Browse files
ctest: Fix --build-and-test without --build-target on Xcode
parent
cb6c233e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmGlobalXCodeGenerator.cxx
View file @
3ca44029
...
...
@@ -348,11 +348,13 @@ void cmGlobalXCodeGenerator::GenerateBuildCommand(
makeCommand
.
add
(
this
->
SelectMakeProgram
(
makeProgram
,
this
->
GetXcodeBuildCommand
()));
makeCommand
.
add
(
"-project"
);
std
::
string
projectArg
=
projectName
;
projectArg
+=
".xcode"
;
projectArg
+=
"proj"
;
makeCommand
.
add
(
projectArg
);
if
(
!
projectName
.
empty
())
{
makeCommand
.
add
(
"-project"
);
std
::
string
projectArg
=
projectName
;
projectArg
+=
".xcode"
;
projectArg
+=
"proj"
;
makeCommand
.
add
(
projectArg
);
}
bool
clean
=
false
;
std
::
string
realTarget
=
targetName
;
...
...
Brad King
@brad.king
mentioned in commit
9620cb93
·
Jan 29, 2019
mentioned in commit
9620cb93
mentioned in commit 9620cb935a49e7b4955f5b1d0ffa2e93b4327591
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment