DEVTOOLS: Adapt create_project to create engines/ dir if necessary
This commit is contained in:
parent
c00ab00f25
commit
8b3fc996a1
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue