Mercurial > games > semicongine
changeset 543:1822bea7de34
did: complete vulkan api generator pipeline for now
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 22 Feb 2023 18:36:26 +0700 |
parents | 1cb1422247e8 |
children | c3c772512e7c |
files | .gitignore config.nims |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.gitignore Wed Feb 22 18:36:01 2023 +0700 +++ b/.gitignore Wed Feb 22 18:36:26 2023 +0700 @@ -26,4 +26,3 @@ # from API generator src/vulkan_api/output/ -vk.xml
--- 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()