From 8b3fc996a16dccccb2de01c75d8eff65c89a969f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 7 Nov 2013 12:58:35 +0100 Subject: DEVTOOLS: Adapt create_project to create engines/ dir if necessary --- devtools/create_project/create_project.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'devtools/create_project') diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 026cbe07a4..3eba36e235 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -1629,6 +1629,10 @@ void ProjectProvider::createModuleList(const std::string &moduleDir, const Strin } void ProjectProvider::createEnginePluginsTable(const BuildSetup &setup) { + // First we need to create the "engines" directory. + createDirectory(setup.outputDir + "/engines"); + + // Then, we can generate the actual "plugins_table.h" file. const std::string enginePluginsTableFile = setup.outputDir + "/engines/plugins_table.h"; std::ofstream enginePluginsTable(enginePluginsTableFile.c_str()); if (!enginePluginsTable) { -- cgit v1.2.3