comparison config.nims @ 82:9e7937b7bcc8

did: complete vulkan api generator pipeline for now
author Sam <sam@basx.dev>
date Wed, 22 Feb 2023 18:36:26 +0700
parents f67496a189cb
children 5e19aead2b61
comparison
equal deleted inserted replaced
81:fa1b6107deae 82:9e7937b7bcc8
146 146
147 const api_generator_name = "vulkan_api_generator" 147 const api_generator_name = "vulkan_api_generator"
148 148
149 task generate_vulkan_api, "Generate Vulkan API": 149 task generate_vulkan_api, "Generate Vulkan API":
150 selfExec &"c -d:ssl --run src/vulkan_api/{api_generator_name}.nim" 150 selfExec &"c -d:ssl --run src/vulkan_api/{api_generator_name}.nim"
151 mkDir "src/semicongine/vulkan/"
152 cpFile "src/vulkan_api/output/api.nim", "src/semicongine/vulkan/api.nim"
153 cpDir "src/vulkan_api/output/platform", "src/semicongine/vulkan/platform"
151 154
152 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]: 155 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]:
153 compilerFlags() 156 compilerFlags()