Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
754485af
Commit
754485af
authored
Aug 02, 2015
by
Daniel Pfeifer
Committed by
Brad King
Mar 23, 2016
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmExtraEclipseCDT4Generator: port to cmXMLWriter
parent
c45671b0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
328 additions
and
380 deletions
+328
-380
Source/cmExtraEclipseCDT4Generator.cxx
Source/cmExtraEclipseCDT4Generator.cxx
+319
-368
Source/cmExtraEclipseCDT4Generator.h
Source/cmExtraEclipseCDT4Generator.h
+9
-12
No files found.
Source/cmExtraEclipseCDT4Generator.cxx
View file @
754485af
This diff is collapsed.
Click to expand it.
Source/cmExtraEclipseCDT4Generator.h
View file @
754485af
...
...
@@ -17,7 +17,7 @@
#include "cmExternalMakefileProjectGenerator.h"
class
cmMakefile
;
class
cm
GeneratedFileStream
;
class
cm
XMLWriter
;
/** \class cmExtraEclipseCDT4Generator
* \brief Write Eclipse project files for Makefile based projects
...
...
@@ -67,19 +67,17 @@ private:
const
std
::
string
&
type
,
const
std
::
string
&
path
);
static
std
::
string
EscapeForXML
(
const
std
::
string
&
value
);
// Helper functions
static
void
AppendStorageScanners
(
cm
GeneratedFileStream
&
fout
,
static
void
AppendStorageScanners
(
cm
XMLWriter
&
xml
,
const
cmMakefile
&
makefile
);
static
void
AppendTarget
(
cm
GeneratedFileStream
&
fout
,
static
void
AppendTarget
(
cm
XMLWriter
&
xml
,
const
std
::
string
&
target
,
const
std
::
string
&
make
,
const
std
::
string
&
makeArguments
,
const
std
::
string
&
path
,
const
char
*
prefix
=
""
,
const
char
*
makeTarget
=
NULL
);
static
void
AppendScannerProfile
(
cm
GeneratedFileStream
&
fout
,
static
void
AppendScannerProfile
(
cm
XMLWriter
&
xml
,
const
std
::
string
&
profileID
,
bool
openActionEnabled
,
const
std
::
string
&
openActionFilePath
,
...
...
@@ -90,21 +88,20 @@ private:
bool
runActionUseDefault
,
bool
sipParserEnabled
);
static
void
AppendLinkedResource
(
cm
GeneratedFileStream
&
fout
,
static
void
AppendLinkedResource
(
cm
XMLWriter
&
xml
,
const
std
::
string
&
name
,
const
std
::
string
&
path
,
LinkType
linkType
);
static
void
AppendIncludeDirectories
(
cm
GeneratedFileStream
&
fout
,
static
void
AppendIncludeDirectories
(
cm
XMLWriter
&
xml
,
const
std
::
vector
<
std
::
string
>&
includeDirs
,
std
::
set
<
std
::
string
>&
emittedDirs
);
static
void
AddEnvVar
(
cmGeneratedFileS
tream
&
f
out
,
const
char
*
envVar
,
static
void
AddEnvVar
(
std
::
os
tream
&
out
,
const
char
*
envVar
,
cmLocalGenerator
*
lg
);
void
CreateLinksToSubprojects
(
cmGeneratedFileStream
&
fout
,
const
std
::
string
&
baseDir
);
void
CreateLinksForTargets
(
cmGeneratedFileStream
&
fout
);
void
CreateLinksToSubprojects
(
cmXMLWriter
&
xml
,
const
std
::
string
&
baseDir
);
void
CreateLinksForTargets
(
cmXMLWriter
&
xml
);
std
::
vector
<
std
::
string
>
SrcLinkedResources
;
std
::
set
<
std
::
string
>
Natures
;
...
...
Brad King
@brad.king
mentioned in commit
40576675
·
Mar 23, 2016
mentioned in commit
40576675
mentioned in commit 405766757c10e6e6cfeddf6ae01ab6877cfc5a6d
Toggle commit list
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