premake-core
premake-core copied to clipboard
how to embed a dylib for xcode project
filter {"system:macosx or system:ios"}
files {
"Source/VulkanEngine/**.glsl",
"Source/VulkanEngine/**.xib",
"Source/VulkanEngine/**.plist",
os.getenv("VULKAN_SDK") .. "/lib/libMoltenVK.dylib",
os.getenv("VULKAN_SDK") .. "/lib/libvulkan.dylib",
}
embedAndSign {
"SDL2.framework",
}
embed {
os.getenv("VULKAN_SDK") .. "/lib/libMoltenVK.dylib",
os.getenv("VULKAN_SDK") .. "/lib/libvulkan.dylib",
}
frameworkdirs {
"External/sdl2/macos"
}
I've tried all permutations to make the vulkan dylibs this show up in xcode's copy embed build section.
How is this supposed to work?