aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project
diff options
context:
space:
mode:
authorJohannes Schickel2013-11-07 12:58:35 +0100
committerD G Turner2013-11-24 00:48:02 +0000
commit8b3fc996a16dccccb2de01c75d8eff65c89a969f (patch)
tree53bc605b2aecabf79dda8f042a28986d08e0a8e9 /devtools/create_project
parentc00ab00f250205dc76890965562f5b661055826a (diff)
downloadscummvm-rg350-8b3fc996a16dccccb2de01c75d8eff65c89a969f.tar.gz
scummvm-rg350-8b3fc996a16dccccb2de01c75d8eff65c89a969f.tar.bz2
scummvm-rg350-8b3fc996a16dccccb2de01c75d8eff65c89a969f.zip
DEVTOOLS: Adapt create_project to create engines/ dir if necessary
Diffstat (limited to 'devtools/create_project')
-rw-r--r--devtools/create_project/create_project.cpp4
1 files changed, 4 insertions, 0 deletions
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) {