Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fred Wright
CMake
Commits
015ff69c
Commit
015ff69c
authored
Jul 28, 2006
by
Bill Hoffman
Browse files
ENH: move from main tree
parent
1756aa57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmGlobalXCodeGenerator.cxx
View file @
015ff69c
...
@@ -1213,10 +1213,6 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
...
@@ -1213,10 +1213,6 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
this
->
CreateString
(
"mh_bundle"
));
this
->
CreateString
(
"mh_bundle"
));
buildSettings
->
AddAttribute
(
"GCC_DYNAMIC_NO_PIC"
,
buildSettings
->
AddAttribute
(
"GCC_DYNAMIC_NO_PIC"
,
this
->
CreateString
(
"NO"
));
this
->
CreateString
(
"NO"
));
buildSettings
->
AddAttribute
(
"GCC_SYMBOLS_PRIVATE_EXTERN"
,
this
->
CreateString
(
"NO"
));
buildSettings
->
AddAttribute
(
"GCC_INLINES_ARE_PRIVATE_EXTERN"
,
this
->
CreateString
(
"NO"
));
// Add the flags to create an executable.
// Add the flags to create an executable.
std
::
string
createFlags
=
std
::
string
createFlags
=
this
->
LookupFlags
(
"CMAKE_"
,
lang
,
"_LINK_FLAGS"
,
""
);
this
->
LookupFlags
(
"CMAKE_"
,
lang
,
"_LINK_FLAGS"
,
""
);
...
@@ -1396,6 +1392,10 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
...
@@ -1396,6 +1392,10 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
this
->
CreateString
(
optLevel
));
this
->
CreateString
(
optLevel
));
buildSettings
->
AddAttribute
(
"OPTIMIZATION_CFLAGS"
,
buildSettings
->
AddAttribute
(
"OPTIMIZATION_CFLAGS"
,
this
->
CreateString
(
oflagc
.
c_str
()));
this
->
CreateString
(
oflagc
.
c_str
()));
buildSettings
->
AddAttribute
(
"GCC_SYMBOLS_PRIVATE_EXTERN"
,
this
->
CreateString
(
"NO"
));
buildSettings
->
AddAttribute
(
"GCC_INLINES_ARE_PRIVATE_EXTERN"
,
this
->
CreateString
(
"NO"
));
if
(
lang
&&
strcmp
(
lang
,
"CXX"
)
==
0
)
if
(
lang
&&
strcmp
(
lang
,
"CXX"
)
==
0
)
{
{
flags
+=
" "
;
flags
+=
" "
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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