comparison 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
comparison
equal deleted inserted replaced
82:9e7937b7bcc8 83:5e19aead2b61
11 proc compilerFlags() = 11 proc compilerFlags() =
12 switch("path", "src") 12 switch("path", "src")
13 switch("mm", "orc") 13 switch("mm", "orc")
14 switch("experimental", "strictEffects") 14 switch("experimental", "strictEffects")
15 switch("threads", "on") 15 switch("threads", "on")
16 if defined(linux):
17 switch("define", "VK_USE_PLATFORM_XLIB_KHR")
18 if defined(windows):
19 switch("define", "VK_USE_PLATFORM_WIN32_KHR")
20
16 21
17 proc compilerFlagsDebug() = 22 proc compilerFlagsDebug() =
18 switch("debugger", "native") 23 switch("debugger", "native")
19 switch("checks", "on") 24 switch("checks", "on")
20 switch("assertions", "on") 25 switch("assertions", "on")