diff 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
line wrap: on
line diff
--- a/config.nims	Wed Feb 22 18:36:01 2023 +0700
+++ b/config.nims	Wed Feb 22 18:36:26 2023 +0700
@@ -148,6 +148,9 @@
 
 task generate_vulkan_api, "Generate Vulkan API":
   selfExec &"c -d:ssl --run src/vulkan_api/{api_generator_name}.nim"
+  mkDir "src/semicongine/vulkan/"
+  cpFile "src/vulkan_api/output/api.nim", "src/semicongine/vulkan/api.nim"
+  cpDir "src/vulkan_api/output/platform", "src/semicongine/vulkan/platform"
 
 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]:
   compilerFlags()