Mercurial > games > semicongine
comparison config.nims @ 22:b45a5d338cd0
did: improve alotof_triangles example, remove glslang lib, use only binary, easier cross-compilation
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 11 Jan 2023 00:43:17 +0700 |
parents | 316923e9247c |
children | 71bbe11d8de8 |
comparison
equal
deleted
inserted
replaced
21:316923e9247c | 22:b45a5d338cd0 |
---|---|
42 setCommand "c" | 42 setCommand "c" |
43 | 43 |
44 task build_windows_debug, "build windows debug": | 44 task build_windows_debug, "build windows debug": |
45 compilerFlags() | 45 compilerFlags() |
46 compilerFlagsDebug() | 46 compilerFlagsDebug() |
47 compilerFlagsDebugWindows() | 47 # compilerFlagsDebugWindows() |
48 switch("define", "mingw") | |
48 buildbase.joinPath("debug/windows").mkDir() | 49 buildbase.joinPath("debug/windows").mkDir() |
49 setCommand "c" | 50 setCommand "c" |
50 | 51 |
51 task build_windows_release, "build windows release": | 52 task build_windows_release, "build windows release": |
52 compilerFlags() | 53 compilerFlags() |
53 compilerFlagsRelease() | 54 compilerFlagsRelease() |
54 compilerFlagsReleaseWindows() | 55 # compilerFlagsReleaseWindows() |
56 switch("define", "mingw") | |
55 buildbase.joinPath("release/windows").mkDir() | 57 buildbase.joinPath("release/windows").mkDir() |
56 setCommand "c" | 58 setCommand "c" |
57 | 59 |
58 compilerFlags() | 60 compilerFlags() |