1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

Map editor can be built during single-app build

Editor remains as separate .exe in such build, but it won't break
compilation
This commit is contained in:
Ivan Savenko
2022-12-05 22:28:01 +02:00
parent d13bbabf08
commit b8a3bcc8f1
8 changed files with 35 additions and 8 deletions

View File

@ -51,6 +51,8 @@ static JsonMap VariantToMap(QVariantMap variant)
return map;
}
VCMI_LIB_NAMESPACE_BEGIN
namespace JsonUtils
{
@ -123,3 +125,5 @@ void JsonToFile(QString filename, QVariant object)
}
}
VCMI_LIB_NAMESPACE_END