Fix kincflags

This commit is contained in:
luboslenco
2023-02-08 19:16:38 +01:00
parent 14a7ff5682
commit d940183e02
+11 -2
View File
@@ -7,5 +7,14 @@ flags.with_nfd = true;
flags.with_tinydir = true;
flags.with_zlib = true;
flags.with_stb_image_write = true;
flags.with_krafix = graphics === 'vulkan'; // glsl to spirv for vulkan
flags.with_plugin_embed = platform === 'ios';
flags.on_project_created = async function(project) {
project.addDefine('IDLE_SLEEP');
if (graphics === 'vulkan') {
await project.addProject('../armorpaint/glsl_to_spirv');
}
if (platform === 'ios') {
await project.addProject('../armorpaint/plugins');
}
}