Mercurial > games > semicongine
diff config.nims @ 83:5e19aead2b61
add: new vulkan api wrapper, not done yet
author | Sam <sam@basx.dev> |
---|---|
date | Thu, 23 Feb 2023 00:34:38 +0700 |
parents | 9e7937b7bcc8 |
children | 93f661a20f74 |
line wrap: on
line diff
--- a/config.nims Wed Feb 22 18:36:26 2023 +0700 +++ b/config.nims Thu Feb 23 00:34:38 2023 +0700 @@ -13,6 +13,11 @@ switch("mm", "orc") switch("experimental", "strictEffects") switch("threads", "on") + if defined(linux): + switch("define", "VK_USE_PLATFORM_XLIB_KHR") + if defined(windows): + switch("define", "VK_USE_PLATFORM_WIN32_KHR") + proc compilerFlagsDebug() = switch("debugger", "native")