Mercurial > games > semicongine
comparison config.nims @ 544:c3c772512e7c
add: new vulkan api wrapper, not done yet
author | Sam <sam@basx.dev> |
---|---|
date | Thu, 23 Feb 2023 00:34:38 +0700 |
parents | 1822bea7de34 |
children | 93f661a20f74 |
comparison
equal
deleted
inserted
replaced
543:1822bea7de34 | 544:c3c772512e7c |
---|---|
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") |