Fix kincflags
This commit is contained in:
+11
-2
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user