Mercurial > games > semicongine
comparison config.nims @ 207:81fab407a479
add: some adjustment to the last refactoring :P
| author | Sam <sam@basx.dev> |
|---|---|
| date | Tue, 09 May 2023 01:18:01 +0700 |
| parents | 93f661a20f74 |
| children | b5d9410a8184 |
comparison
equal
deleted
inserted
replaced
| 206:7f921d7d0a2b | 207:81fab407a479 |
|---|---|
| 137 exec &"curl https://raw.githubusercontent.com/nimgl/nimgl/master/src/nimgl/vulkan.nim > src/semicongine/vulkan/c_api.nim" | 137 exec &"curl https://raw.githubusercontent.com/nimgl/nimgl/master/src/nimgl/vulkan.nim > src/semicongine/vulkan/c_api.nim" |
| 138 | 138 |
| 139 task generate_vulkan_api, "Generate Vulkan API": | 139 task generate_vulkan_api, "Generate Vulkan API": |
| 140 selfExec &"c -d:ssl --run src/vulkan_api/vulkan_api_generator.nim" | 140 selfExec &"c -d:ssl --run src/vulkan_api/vulkan_api_generator.nim" |
| 141 mkDir "src/semicongine/vulkan/" | 141 mkDir "src/semicongine/vulkan/" |
| 142 cpFile "src/vulkan_api/output/api.nim", "src/semicongine/vulkan/api.nim" | 142 mkDir "src/semicongine/core/" |
| 143 cpFile "src/vulkan_api/output/api.nim", "src/semicongine/core/api.nim" | |
| 143 cpDir "src/vulkan_api/output/platform", "src/semicongine/vulkan/platform" | 144 cpDir "src/vulkan_api/output/platform", "src/semicongine/vulkan/platform" |
| 144 | 145 |
| 145 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]: | 146 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]: |
| 146 compilerFlags() | 147 compilerFlags() |
