From 7cfed737d7fead674ca61b74d704e6a8ba0b577d Mon Sep 17 00:00:00 2001 From: Littleboy Date: Tue, 6 Sep 2011 16:01:10 -0400 Subject: CREATE_PROJECT: Add support for creating Visual Studio projects for the dev tools - Move project name and description to BuildSetup structure - Add list of tools to generate project for (similar to the list of features) --- devtools/create_project/codeblocks.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'devtools/create_project/codeblocks.cpp') diff --git a/devtools/create_project/codeblocks.cpp b/devtools/create_project/codeblocks.cpp index e73dc11089..3458ca5a19 100644 --- a/devtools/create_project/codeblocks.cpp +++ b/devtools/create_project/codeblocks.cpp @@ -32,20 +32,20 @@ CodeBlocksProvider::CodeBlocksProvider(StringList &global_warnings, std::map\n" "\n"; - workspace << "\t\n"; + workspace << "\t\n"; - writeReferences(workspace); + writeReferences(setup, workspace); // Note we assume that the UUID map only includes UUIDs for enabled engines! for (UUIDMap::const_iterator i = _uuidMap.begin(); i != _uuidMap.end(); ++i) { - if (i->first == PROJECT_NAME) + if (i->first == setup.projectName) continue; workspace << "\t\tfirst << ".cbp\" />\n"; @@ -88,15 +88,15 @@ void CodeBlocksProvider::createProjectFile(const std::string &name, const std::s "\t\t