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
CMake
CMake
Commits
8ca558db
Commit
8ca558db
authored
Jul 19, 2005
by
Bill Hoffman
Browse files
ENH: make it so that bootstrap does not use xml parser
parent
9062e6d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Source/cmGlobalXCodeGenerator.cxx
View file @
8ca558db
...
...
@@ -23,8 +23,9 @@
#include "cmGeneratedFileStream.h"
#include "cmSourceFile.h"
#include "cmOrderLinkDirectories.h"
#include "cmXMLParser.h"
#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmXMLParser.h"
// parse the xml file storing the installed version of Xcode on
// the machine
...
...
@@ -57,6 +58,7 @@ public:
std
::
string
m_Key
;
std
::
string
m_Data
;
};
#endif
//TODO
...
...
@@ -77,6 +79,7 @@ cmGlobalXCodeGenerator::cmGlobalXCodeGenerator()
//----------------------------------------------------------------------------
cmGlobalGenerator
*
cmGlobalXCodeGenerator
::
New
()
{
#if defined(CMAKE_BUILD_WITH_CMAKE)
cmXcodeVersionParser
parser
;
parser
.
ParseFile
(
"/Developer/Applications/Xcode.app/Contents/version.plist"
);
if
(
parser
.
m_Version
==
15
)
...
...
@@ -91,6 +94,11 @@ cmGlobalGenerator* cmGlobalXCodeGenerator::New()
}
return
new
cmGlobalXCode21Generator
;
#else
std
::
cerr
<<
"CMake should be built with cmake to use XCode, default to Xcode 1.5
\n
"
;
return
new
cmGlobalXCodeGenerator
;
#endif
}
//----------------------------------------------------------------------------
...
...
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