mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Added -DENABLED_LAUNCHER and -DENABLED_EDITOR defines
This commit is contained in:
@@ -63,14 +63,14 @@ void startGame(const QStringList & args)
|
||||
startExecutable(pathToQString(VCMIDirs::get().clientPath()), args);
|
||||
#endif
|
||||
}
|
||||
|
||||
void startEditor(const QStringList & args)
|
||||
{
|
||||
#ifndef Q_OS_IOS
|
||||
startExecutable(pathToQString(VCMIDirs::get().editorPath()), args);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void startEditor(const QStringList & args)
|
||||
{
|
||||
#ifdef ENABLE_EDITOR
|
||||
startExecutable(pathToQString(VCMIDirs::get().mapEditorPath()), args);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef Q_OS_IOS
|
||||
void startExecutable(QString name, const QStringList & args)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user