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
Brad King
CMake
Commits
185c95ce
Commit
185c95ce
authored
Jan 06, 2014
by
Brad King
Committed by
Kitware Robot
Jan 06, 2014
Browse files
Merge topic 'EclipseUse64bitMachOParser'
e6b0f452
Eclipse: use MachO64 parser starting with Helios (#14380)
parents
ff6f80ba
e6b0f452
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmExtraEclipseCDT4Generator.cxx
View file @
185c95ce
...
...
@@ -40,6 +40,7 @@ cmExtraEclipseCDT4Generator
this
->
SupportsVirtualFolders
=
true
;
this
->
GenerateLinkedResources
=
true
;
this
->
SupportsGmakeErrorParser
=
true
;
this
->
SupportsMachO64Parser
=
true
;
}
//----------------------------------------------------------------------------
...
...
@@ -93,6 +94,7 @@ void cmExtraEclipseCDT4Generator::Generate()
if
(
version
<
3006
)
// 3.6 is Helios
{
this
->
SupportsVirtualFolders
=
false
;
this
->
SupportsMachO64Parser
=
false
;
}
if
(
version
<
3007
)
// 3.7 is Indigo
{
...
...
@@ -754,7 +756,9 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
}
else
if
(
systemName
==
"Darwin"
)
{
fout
<<
"<extension id=
\"
org.eclipse.cdt.core.MachO
\"
"
fout
<<
"<extension id=
\"
"
<<
(
this
->
SupportsMachO64Parser
?
"org.eclipse.cdt.core.MachO64"
:
"org.eclipse.cdt.core.MachO"
)
<<
"
\"
"
" point=
\"
org.eclipse.cdt.core.BinaryParser
\"
>
\n
"
"<attribute key=
\"
c++filt
\"
value=
\"
c++filt
\"
/>
\n
"
"</extension>
\n
"
...
...
Source/cmExtraEclipseCDT4Generator.h
View file @
185c95ce
...
...
@@ -115,6 +115,7 @@ private:
bool
GenerateLinkedResources
;
bool
SupportsVirtualFolders
;
bool
SupportsGmakeErrorParser
;
bool
SupportsMachO64Parser
;
};
...
...
Write
Preview
Markdown
is supported
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