aboutsummaryrefslogtreecommitdiff
path: root/tools/create_msvc/create_msvc.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-10-27 18:37:09 +0000
committerJohannes Schickel2009-10-27 18:37:09 +0000
commit36aae577d1b3437f9e305896769bd23938eca5ef (patch)
treea4a5eb9377d066d90a155de1f7bb70649f934c69 /tools/create_msvc/create_msvc.cpp
parent60920305998841d41cdbf30c5421bc6a6ca64c42 (diff)
downloadscummvm-rg350-36aae577d1b3437f9e305896769bd23938eca5ef.tar.gz
scummvm-rg350-36aae577d1b3437f9e305896769bd23938eca5ef.tar.bz2
scummvm-rg350-36aae577d1b3437f9e305896769bd23938eca5ef.zip
Fix whitespace usage.
svn-id: r45444
Diffstat (limited to 'tools/create_msvc/create_msvc.cpp')
-rw-r--r--tools/create_msvc/create_msvc.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/tools/create_msvc/create_msvc.cpp b/tools/create_msvc/create_msvc.cpp
index b60bed56eb..4d7b422f0e 100644
--- a/tools/create_msvc/create_msvc.cpp
+++ b/tools/create_msvc/create_msvc.cpp
@@ -504,7 +504,7 @@ FeatureList getAllFeatures() {
FeatureList features;
for (size_t i = 0; i < featureCount; ++i)
features.push_back(s_features[i]);
-
+
return features;
}
@@ -596,7 +596,7 @@ void createProjectFile(const std::string &name, const std::string &uuid, const B
*/
void addFilesToProject(const std::string &dir, std::ofstream &projectFile,
const StringList &includeList, const StringList &excludeList,
- const std::string &filePrefix);
+ const std::string &filePrefix);
/**
* Create the global project properties.
@@ -786,7 +786,7 @@ void createScummVMSolution(const BuildSetup &setup, const UUIDMap &uuids, const
}
void createProjectFile(const std::string &name, const std::string &uuid, const BuildSetup &setup, const std::string &moduleDir,
- const StringList &includeList, const StringList &excludeList, const int version) {
+ const StringList &includeList, const StringList &excludeList, const int version) {
const std::string projectFile = setup.outputDir + '/' + name + ".vcproj";
std::ofstream project(projectFile.c_str());
if (!project)
@@ -808,7 +808,7 @@ void createProjectFile(const std::string &name, const std::string &uuid, const B
"\t<Platforms>\n"
"\t\t<Platform Name=\"Win32\" />\n"
"\t\t<Platform Name=\"x64\" />\n"
- "\t</Platforms>\n"
+ "\t</Platforms>\n"
"\t<Configurations>\n";
if (name == "scummvm") {
@@ -820,10 +820,10 @@ void createProjectFile(const std::string &name, const std::string &uuid, const B
// Win32
project << "\t\t<Configuration Name=\"Debug|Win32\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Debug.vsprops\">\n"
"\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/scummvm.exe\"\n"
- "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n"
- "\t\t\t/>\n"
- "\t\t</Configuration>\n"
- "\t\t<Configuration Name=\"Release|Win32\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Release.vsprops\">\n"
+ "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n"
+ "\t\t\t/>\n"
+ "\t\t</Configuration>\n"
+ "\t\t<Configuration Name=\"Release|Win32\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Release.vsprops\">\n"
"\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/scummvm.exe\"\n"
"\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n"
"\t\t\t/>\n"
@@ -835,10 +835,10 @@ void createProjectFile(const std::string &name, const std::string &uuid, const B
// libraries list created for IA-32. If that changes in the future, we need to adjust this part!
project << "\t\t<Configuration Name=\"Debug|x64\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Debug64.vsprops\">\n"
"\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/scummvm.exe\"\n"
- "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n"
- "\t\t\t/>\n"
- "\t\t</Configuration>\n"
- "\t\t<Configuration Name=\"Release|x64\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Release64.vsprops\">\n"
+ "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n"
+ "\t\t\t/>\n"
+ "\t\t</Configuration>\n"
+ "\t\t<Configuration Name=\"Release|x64\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Release64.vsprops\">\n"
"\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/scummvm.exe\"\n"
"\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n"
"\t\t\t/>\n"
@@ -847,13 +847,13 @@ void createProjectFile(const std::string &name, const std::string &uuid, const B
// Win32
project << "\t\t<Configuration Name=\"Debug|Win32\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Debug.vsprops\">\n"
"\t\t\t<Tool Name=\"VCCLCompilerTool\" DebugInformationFormat=\"3\" />\n"
- "\t\t</Configuration>\n"
- "\t\t<Configuration Name=\"Release|Win32\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Release.vsprops\" />\n";
+ "\t\t</Configuration>\n"
+ "\t\t<Configuration Name=\"Release|Win32\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Release.vsprops\" />\n";
// x64
project << "\t\t<Configuration Name=\"Debug|x64\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Debug64.vsprops\">\n"
"\t\t\t<Tool Name=\"VCCLCompilerTool\" DebugInformationFormat=\"3\" />\n"
- "\t\t</Configuration>\n"
- "\t\t<Configuration Name=\"Release|x64\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Release64.vsprops\" />\n";
+ "\t\t</Configuration>\n"
+ "\t\t<Configuration Name=\"Release|x64\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Release64.vsprops\" />\n";
} else {
// Win32
project << "\t\t<Configuration Name=\"Debug|Win32\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Debug.vsprops\" />\n"
@@ -1319,7 +1319,7 @@ FileNode *scanFiles(const std::string &dir, const StringList &includeList, const
* @param filePrefix Generic prefix to all files of the node.
*/
void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation,
- const StringList &duplicate, const std::string &objPrefix, const std::string &filePrefix) {
+ const StringList &duplicate, const std::string &objPrefix, const std::string &filePrefix) {
const std::string indentString = getIndent(indentation + 2);
if (indentation)
@@ -1386,8 +1386,8 @@ void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, con
}
void addFilesToProject(const std::string &dir, std::ofstream &projectFile,
- const StringList &includeList, const StringList &excludeList,
- const std::string &filePrefix) {
+ const StringList &includeList, const StringList &excludeList,
+ const std::string &filePrefix) {
// Check for duplicate object file names
StringList duplicate;