Mercurial > games > semicongine
comparison semiconginev2/thirdparty/db_connector/sqlite3.nim @ 1234:841e12f33c47
add: text & font rendering, not tested yet
author | sam <sam@basx.dev> |
---|---|
date | Sat, 20 Jul 2024 00:03:57 +0700 |
parents | 56781cc0fc7c |
children |
comparison
equal
deleted
inserted
replaced
1233:1cf698973dca | 1234:841e12f33c47 |
---|---|
7 # distribution, for details about the copyright. | 7 # distribution, for details about the copyright. |
8 # | 8 # |
9 | 9 |
10 when defined(nimHasStyleChecks): | 10 when defined(nimHasStyleChecks): |
11 {.push styleChecks: off.} | 11 {.push styleChecks: off.} |
12 | |
13 when defined(windows): | |
14 when defined(nimOldDlls): | |
15 const Lib = "sqlite3.dll" | |
16 elif defined(cpu64): | |
17 const Lib = "sqlite3_64.dll" | |
18 else: | |
19 const Lib = "sqlite3_32.dll" | |
20 elif defined(macosx): | |
21 const | |
22 Lib = "libsqlite3(|.0).dylib" | |
23 else: | |
24 const | |
25 Lib = "libsqlite3.so(|.0)" | |
26 | 12 |
27 {.pragma: mylib.} | 13 {.pragma: mylib.} |
28 {.compile("sqlite3.c", "-O3").} | 14 {.compile("sqlite3.c", "-O3").} |
29 | 15 |
30 const | 16 const |