From 76778e100f745fe3a2a72765becea6719020f233 Mon Sep 17 00:00:00 2001 From: sluicebox <22204938+sluicebox@users.noreply.github.com> Date: Sun, 7 Nov 2021 00:58:28 -0500 Subject: [PATCH] CREATE_PROJECT: Remove VS2008 project generator Now that C++11 is mandatory we can retire our old friend --- devtools/create_project/cmake/CMakeLists.txt | 2 - .../codeblocks/create_project.cbp | 2 - devtools/create_project/create_project.cpp | 7 +- devtools/create_project/module.mk | 1 - .../msvc/create_project.vcxproj | 2 - .../msvc/create_project.vcxproj.filters | 6 - .../msvc/create_project_2008.sln | 20 - .../msvc/create_project_2008.vcproj | 270 ------------- devtools/create_project/visualstudio.cpp | 382 ------------------ devtools/create_project/visualstudio.h | 60 --- .../create_project.xcodeproj/project.pbxproj | 6 - 11 files changed, 1 insertion(+), 757 deletions(-) delete mode 100644 devtools/create_project/msvc/create_project_2008.sln delete mode 100644 devtools/create_project/msvc/create_project_2008.vcproj delete mode 100644 devtools/create_project/visualstudio.cpp delete mode 100644 devtools/create_project/visualstudio.h diff --git a/devtools/create_project/cmake/CMakeLists.txt b/devtools/create_project/cmake/CMakeLists.txt index 5c546656cd9..e247257b214 100644 --- a/devtools/create_project/cmake/CMakeLists.txt +++ b/devtools/create_project/cmake/CMakeLists.txt @@ -13,8 +13,6 @@ set(SOURCE_FILES ../msbuild.h ../msvc.cpp ../msvc.h - ../visualstudio.cpp - ../visualstudio.h ../xcode.cpp ../xcode.h ) diff --git a/devtools/create_project/codeblocks/create_project.cbp b/devtools/create_project/codeblocks/create_project.cbp index b015577f5e0..981057e1c7d 100644 --- a/devtools/create_project/codeblocks/create_project.cbp +++ b/devtools/create_project/codeblocks/create_project.cbp @@ -47,8 +47,6 @@ - - diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 8f901e68297..55cf9d99a0c 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -44,7 +44,6 @@ #include "codeblocks.h" #include "msbuild.h" #include "msvc.h" -#include "visualstudio.h" #include "xcode.h" #include @@ -629,10 +628,7 @@ int main(int argc, char *argv[]) { projectWarnings["sci"].push_back("4373"); - if (msvcVersion == 9) - provider = new CreateProjectTool::VisualStudioProvider(globalWarnings, projectWarnings, msvcVersion, *msvc); - else - provider = new CreateProjectTool::MSBuildProvider(globalWarnings, projectWarnings, msvcVersion, *msvc); + provider = new CreateProjectTool::MSBuildProvider(globalWarnings, projectWarnings, msvcVersion, *msvc); break; @@ -1139,7 +1135,6 @@ const Tool s_tools[] = { const MSVCVersion s_msvc[] = { // Ver Name Solution Project Toolset LLVM - { 9, "Visual Studio 2008", "10.00", "2008", "4.0", "v90", "LLVM-vs2008" }, { 10, "Visual Studio 2010", "11.00", "2010", "4.0", "v100", "LLVM-vs2010" }, { 11, "Visual Studio 2012", "11.00", "2012", "4.0", "v110", "LLVM-vs2012" }, { 12, "Visual Studio 2013", "12.00", "2013", "12.0", "v120", "LLVM-vs2013" }, diff --git a/devtools/create_project/module.mk b/devtools/create_project/module.mk index bb7bdcc9b0e..1260363b3fb 100644 --- a/devtools/create_project/module.mk +++ b/devtools/create_project/module.mk @@ -6,7 +6,6 @@ MODULE_OBJS := \ create_project.o \ codeblocks.o \ msvc.o \ - visualstudio.o \ msbuild.o \ xcode.o diff --git a/devtools/create_project/msvc/create_project.vcxproj b/devtools/create_project/msvc/create_project.vcxproj index f582ebbbb08..16a7cee9abc 100644 --- a/devtools/create_project/msvc/create_project.vcxproj +++ b/devtools/create_project/msvc/create_project.vcxproj @@ -98,7 +98,6 @@ xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc\" - @@ -108,7 +107,6 @@ xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc\" - diff --git a/devtools/create_project/msvc/create_project.vcxproj.filters b/devtools/create_project/msvc/create_project.vcxproj.filters index b29f1d2989d..a04695231a5 100644 --- a/devtools/create_project/msvc/create_project.vcxproj.filters +++ b/devtools/create_project/msvc/create_project.vcxproj.filters @@ -24,9 +24,6 @@ Header Files - - Header Files - Header Files @@ -50,9 +47,6 @@ Source Files - - Source Files - Source Files diff --git a/devtools/create_project/msvc/create_project_2008.sln b/devtools/create_project/msvc/create_project_2008.sln deleted file mode 100644 index 4eaa6f04df8..00000000000 --- a/devtools/create_project/msvc/create_project_2008.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_project", "create_project_2008.vcproj", "{CF177559-077D-4A08-AABE-BE0FD35F6C63}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {CF177559-077D-4A08-AABE-BE0FD35F6C63}.Debug|Win32.ActiveCfg = Debug|Win32 - {CF177559-077D-4A08-AABE-BE0FD35F6C63}.Debug|Win32.Build.0 = Debug|Win32 - {CF177559-077D-4A08-AABE-BE0FD35F6C63}.Release|Win32.ActiveCfg = Release|Win32 - {CF177559-077D-4A08-AABE-BE0FD35F6C63}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/devtools/create_project/msvc/create_project_2008.vcproj b/devtools/create_project/msvc/create_project_2008.vcproj deleted file mode 100644 index d41fe809337..00000000000 --- a/devtools/create_project/msvc/create_project_2008.vcproj +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/devtools/create_project/visualstudio.cpp b/devtools/create_project/visualstudio.cpp deleted file mode 100644 index 459e0fdacec..00000000000 --- a/devtools/create_project/visualstudio.cpp +++ /dev/null @@ -1,382 +0,0 @@ -/* ScummVM - Graphic Adventure Engine - * - * ScummVM is the legal property of its developers, whose names - * are too numerous to list here. Please refer to the COPYRIGHT - * file distributed with this source distribution. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -#include "visualstudio.h" -#include "config.h" - -#include -#include - -namespace CreateProjectTool { - -////////////////////////////////////////////////////////////////////////// -// Visual Studio Provider (Visual Studio 2008) -////////////////////////////////////////////////////////////////////////// - -VisualStudioProvider::VisualStudioProvider(StringList &global_warnings, std::map &project_warnings, const int version, const MSVCVersion &msvc) - : MSVCProvider(global_warnings, project_warnings, version, msvc) { - - _archs.push_back(ARCH_X86); - _archs.push_back(ARCH_AMD64); -} - -const char *VisualStudioProvider::getProjectExtension() { - return ".vcproj"; -} - -const char *VisualStudioProvider::getPropertiesExtension() { - return ".vsprops"; -} - -void VisualStudioProvider::createProjectFile(const std::string &name, const std::string &uuid, const BuildSetup &setup, const std::string &moduleDir, - const StringList &includeList, const StringList &excludeList) { - const std::string projectFile = setup.outputDir + '/' + name + getProjectExtension(); - std::ofstream project(projectFile.c_str()); - if (!project || !project.is_open()) { - error("Could not open \"" + projectFile + "\" for writing"); - return; - } - - project << "\n" - << "\n" - "\t\n"; - for (std::list::const_iterator arch = _archs.begin(); arch != _archs.end(); ++arch) { - project << "\t\t\n"; - } - project << "\t\n" - << "\t\n"; - - // Check for project-specific warnings: - std::map >::iterator warningsIterator = _projectWarnings.find(name); - - if (setup.devTools || setup.tests || name == setup.projectName) { - for (std::list::const_iterator arch = _archs.begin(); arch != _archs.end(); ++arch) { - outputConfiguration(project, setup, false, "Debug", *arch); - outputConfiguration(project, setup, false, "Analysis", *arch); - outputConfiguration(project, setup, false, "LLVM", *arch); - outputConfiguration(project, setup, true, "Release", *arch); - } - - } else { - bool enableLanguageExtensions = find(_enableLanguageExtensions.begin(), _enableLanguageExtensions.end(), name) != _enableLanguageExtensions.end(); - bool disableEditAndContinue = find(_disableEditAndContinue.begin(), _disableEditAndContinue.end(), name) != _disableEditAndContinue.end(); - - std::string warnings = ""; - if (warningsIterator != _projectWarnings.end()) - for (StringList::const_iterator i = warningsIterator->second.begin(); i != warningsIterator->second.end(); ++i) - warnings += *i + ';'; - - std::string toolConfig; - toolConfig = (!warnings.empty() ? "DisableSpecificWarnings=\"" + warnings + "\"" : ""); - toolConfig += (disableEditAndContinue ? "DebugInformationFormat=\"3\" " : ""); - toolConfig += (enableLanguageExtensions ? "DisableLanguageExtensions=\"false\" " : ""); - - for (std::list::const_iterator arch = _archs.begin(); arch != _archs.end(); ++arch) { - outputConfiguration(setup, project, toolConfig, "Debug", *arch); - outputConfiguration(setup, project, toolConfig, "Analysis", *arch); - outputConfiguration(setup, project, toolConfig, "LLVM", *arch); - outputConfiguration(setup, project, toolConfig, "Release", *arch); - } - } - - project << "\t\n" - << "\t\n"; - - std::string modulePath; - if (!moduleDir.compare(0, setup.srcDir.size(), setup.srcDir)) { - modulePath = moduleDir.substr(setup.srcDir.size()); - if (!modulePath.empty() && modulePath.at(0) == '/') - modulePath.erase(0, 1); - } - - if (!modulePath.empty()) - addFilesToProject(moduleDir, project, includeList, excludeList, setup.filePrefix + '/' + modulePath); - else - addFilesToProject(moduleDir, project, includeList, excludeList, setup.filePrefix); - - // Output auto-generated test runner - if (setup.tests) { - project << "\t\t\n"; - } - - project << "\t\n" - << "\n"; -} - -void VisualStudioProvider::outputConfiguration(std::ostream &project, const BuildSetup &setup, bool isRelease, const std::string &config, const MSVC_Architecture arch) { - std::string libraries = outputLibraryDependencies(setup, isRelease); - - project << "\t\t\n" - << "\t\t\t\n" - << "\t\t\t\n"; - outputBuildEvents(project, setup, arch); - project << "\t\t\n"; -} - -void VisualStudioProvider::outputConfiguration(const BuildSetup &setup, std::ostream &project, const std::string &toolConfig, const std::string &config, const MSVC_Architecture arch) { - project << "\t\t\n" - << "\t\t\t\n" - << "\t\t\n"; -} - -void VisualStudioProvider::outputBuildEvents(std::ostream &project, const BuildSetup &setup, const MSVC_Architecture arch) { - if (!setup.devTools && !setup.tests && setup.runBuildEvents) { - project << "\t\t\t\n" - << "\t\t\t\n"; - } - - // Generate runner file before build for tests - if (setup.tests) { - project << "\t\t\t\n"; - - project << "\t\t\t\n"; - } -} - -void VisualStudioProvider::writeReferences(const BuildSetup &setup, std::ofstream &output) { - output << "\tProjectSection(ProjectDependencies) = postProject\n"; - - for (UUIDMap::const_iterator i = _engineUuidMap.begin(); i != _engineUuidMap.end(); ++i) { - output << "\t\t{" << i->second << "} = {" << i->second << "}\n"; - } - - output << "\tEndProjectSection\n"; -} - -void VisualStudioProvider::outputGlobalPropFile(const BuildSetup &setup, std::ofstream &properties, MSVC_Architecture arch, const StringList &defines, const std::string &prefix, bool runBuildEvents) { - std::string warnings; - for (StringList::const_iterator i = _globalWarnings.begin(); i != _globalWarnings.end(); ++i) - warnings += *i + ';'; - - std::string includeDirsList; - for (StringList::const_iterator i = setup.includeDirs.begin(); i != setup.includeDirs.end(); ++i) - includeDirsList += convertPathToWin(*i) + ';'; - - std::string definesList; - for (StringList::const_iterator i = defines.begin(); i != defines.end(); ++i) { - if (i != defines.begin()) - definesList += ';'; - definesList += *i; - } - - // Add define to include revision header - if (runBuildEvents) - definesList += REVISION_DEFINE ";"; - - properties << "\n" - << "\n" - << "\t\n" - << "\t\n" - << "\t\n" - << "\t\n" - << "\n"; - - properties.flush(); -} - -void VisualStudioProvider::createBuildProp(const BuildSetup &setup, bool isRelease, MSVC_Architecture arch, const std::string &configuration) { - - std::ofstream properties((setup.outputDir + '/' + setup.projectDescription + "_" + configuration + getMSVCArchName(arch) + getPropertiesExtension()).c_str()); - if (!properties || !properties.is_open()) { - error("Could not open \"" + setup.outputDir + '/' + setup.projectDescription + "_" + configuration + getMSVCArchName(arch) + getPropertiesExtension() + "\" for writing"); - return; - } - - properties << "\n" - << "\n" - << "\t\n" - << "\t\n" - << "\t\n" - << "\n"; - - properties.flush(); - properties.close(); -} - -void VisualStudioProvider::writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation, - const std::string &objPrefix, const std::string &filePrefix) { - const std::string indentString = getIndent(indentation + 2); - - if (indentation) - projectFile << getIndent(indentation + 1) << "\n"; - - for (FileNode::NodeList::const_iterator i = dir.children.begin(); i != dir.children.end(); ++i) { - const FileNode *node = *i; - - if (!node->children.empty()) { - writeFileListToProject(*node, projectFile, indentation + 1, objPrefix + node->name + '_', filePrefix + node->name + '/'); - } else { - std::string filePath = convertPathToWin(filePrefix + node->name); - if (producesObjectFile(node->name)) { - std::string name, ext; - splitFilename(node->name, name, ext); - - if (ext == "asm") { - std::string objFileName = "$(IntDir)\\"; - objFileName += objPrefix; - objFileName += "$(InputName).obj"; - - const std::string toolLine = indentString + "\t\t\n"; - - // NASM is not supported for x64, thus we do not need to add additional entries here :-). - writeFileToProject(projectFile, filePath, ARCH_X86, indentString, toolLine); - } else { - projectFile << indentString << "\n"; - } - } else { - projectFile << indentString << "\n"; - } - } - } - - if (indentation) - projectFile << getIndent(indentation + 1) << "\n"; -} - -void VisualStudioProvider::writeFileToProject(std::ofstream &projectFile, const std::string &filePath, MSVC_Architecture arch, - const std::string &indentString, const std::string &toolLine) { - projectFile << indentString << "\n" - << indentString << "\t\n" - << toolLine - << indentString << "\t\n" - << indentString << "\t\n" - << toolLine - << indentString << "\t\n" - << indentString << "\t\n" - << toolLine - << indentString << "\t\n" - << indentString << "\t\n" - << toolLine - << indentString << "\t\n" - << indentString << "\n"; -} - -} // namespace CreateProjectTool diff --git a/devtools/create_project/visualstudio.h b/devtools/create_project/visualstudio.h deleted file mode 100644 index dfb5d0fdb46..00000000000 --- a/devtools/create_project/visualstudio.h +++ /dev/null @@ -1,60 +0,0 @@ -/* ScummVM - Graphic Adventure Engine - * - * ScummVM is the legal property of its developers, whose names - * are too numerous to list here. Please refer to the COPYRIGHT - * file distributed with this source distribution. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -#ifndef TOOLS_CREATE_PROJECT_VISUALSTUDIO_H -#define TOOLS_CREATE_PROJECT_VISUALSTUDIO_H - -#include "msvc.h" - -namespace CreateProjectTool { - -class VisualStudioProvider : public MSVCProvider { -public: - VisualStudioProvider(StringList &global_warnings, std::map &project_warnings, const int version, const MSVCVersion &msvc); - -protected: - void createProjectFile(const std::string &name, const std::string &uuid, const BuildSetup &setup, const std::string &moduleDir, - const StringList &includeList, const StringList &excludeList); - - void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation, - const std::string &objPrefix, const std::string &filePrefix); - - void writeFileToProject(std::ofstream &projectFile, const std::string &filePath, MSVC_Architecture arch, - const std::string &indentString, const std::string &toolLine); - - void writeReferences(const BuildSetup &setup, std::ofstream &output); - - void outputGlobalPropFile(const BuildSetup &setup, std::ofstream &properties, MSVC_Architecture arch, const StringList &defines, const std::string &prefix, bool runBuildEvents); - - void createBuildProp(const BuildSetup &setup, bool isRelease, MSVC_Architecture arch, const std::string &configuration); - - const char *getProjectExtension(); - const char *getPropertiesExtension(); - - void outputConfiguration(std::ostream &project, const BuildSetup &setup, bool isRelease, const std::string &config, const MSVC_Architecture arch); - void outputConfiguration(const BuildSetup &setup, std::ostream &project, const std::string &toolConfig, const std::string &config, const MSVC_Architecture arch); - void outputBuildEvents(std::ostream &project, const BuildSetup &setup, const MSVC_Architecture arch); -}; - -} // namespace CreateProjectTool - -#endif // TOOLS_CREATE_PROJECT_VISUALSTUDIO_H diff --git a/devtools/create_project/xcode/create_project.xcodeproj/project.pbxproj b/devtools/create_project/xcode/create_project.xcodeproj/project.pbxproj index 9a75f2f7c07..76e31621fd2 100644 --- a/devtools/create_project/xcode/create_project.xcodeproj/project.pbxproj +++ b/devtools/create_project/xcode/create_project.xcodeproj/project.pbxproj @@ -12,7 +12,6 @@ F9A66C6A1396D4DF00CEE494 /* create_project.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9A66C621396D4DF00CEE494 /* create_project.cpp */; }; F9A66C6B1396D4DF00CEE494 /* msbuild.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9A66C651396D4DF00CEE494 /* msbuild.cpp */; }; F9A66C6C1396D4DF00CEE494 /* msvc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9A66C671396D4DF00CEE494 /* msvc.cpp */; }; - F9A66C6F1396D4E800CEE494 /* visualstudio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9A66C6D1396D4E800CEE494 /* visualstudio.cpp */; }; F9A66C871396E2F500CEE494 /* xcode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9A66C861396E2F500CEE494 /* xcode.cpp */; }; F9A66C91139704A400CEE494 /* create_project in CopyFiles */ = {isa = PBXBuildFile; fileRef = F9A66C271396D36100CEE494 /* create_project */; }; F9BA99141398064E00C276C2 /* create_project in CopyFiles */ = {isa = PBXBuildFile; fileRef = F9A66C271396D36100CEE494 /* create_project */; }; @@ -59,8 +58,6 @@ F9A66C661396D4DF00CEE494 /* msbuild.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = msbuild.h; path = ../msbuild.h; sourceTree = ""; }; F9A66C671396D4DF00CEE494 /* msvc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = msvc.cpp; path = ../msvc.cpp; sourceTree = ""; }; F9A66C681396D4DF00CEE494 /* msvc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = msvc.h; path = ../msvc.h; sourceTree = ""; }; - F9A66C6D1396D4E800CEE494 /* visualstudio.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = visualstudio.cpp; path = ../visualstudio.cpp; sourceTree = ""; }; - F9A66C6E1396D4E800CEE494 /* visualstudio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = visualstudio.h; path = ../visualstudio.h; sourceTree = ""; }; F9A66C841396E2D800CEE494 /* xcode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = xcode.h; path = ../xcode.h; sourceTree = ""; }; F9A66C861396E2F500CEE494 /* xcode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = xcode.cpp; path = ../xcode.cpp; sourceTree = ""; }; /* End PBXFileReference section */ @@ -83,8 +80,6 @@ 0765835F1D660492006CBB9B /* cmake.h */, F9A66C861396E2F500CEE494 /* xcode.cpp */, F9A66C841396E2D800CEE494 /* xcode.h */, - F9A66C6D1396D4E800CEE494 /* visualstudio.cpp */, - F9A66C6E1396D4E800CEE494 /* visualstudio.h */, F9A66C5F1396D4DF00CEE494 /* codeblocks.cpp */, F9A66C601396D4DF00CEE494 /* codeblocks.h */, F9A66C611396D4DF00CEE494 /* config.h */, @@ -175,7 +170,6 @@ F9A66C6B1396D4DF00CEE494 /* msbuild.cpp in Sources */, F9A66C6C1396D4DF00CEE494 /* msvc.cpp in Sources */, 076583601D660492006CBB9B /* cmake.cpp in Sources */, - F9A66C6F1396D4E800CEE494 /* visualstudio.cpp in Sources */, F9A66C871396E2F500CEE494 /* xcode.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0;