all repos — litestore @ 57a4a616c9824be24be31e70fa943c45b4cb4f10

A minimalist nosql document store.

src/litestore.nims

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
switch("mm", "refc")
switch("opt", "size")
switch("define", "ssl")
switch("define", "release")
switch("threadAnalysis", "off")

when defined(windows):
    switch("dynlibOverride", "sqlite3_64")
else:
    switch("dynlibOverride", "sqlite3")

when defined(ssl):
    switch("define", "useOpenSsl3")
    when defined(windows):
        # TODO",  change once issue nim#15220 is resolved
        switch("define", "noOpenSSLHacks")
        switch("define", "sslVersion:(")
        switch("dynlibOverride", "ssl-")
        switch("dynlibOverride", "crypto-")
    else:
        switch("dynlibOverride", "ssl")
        switch("dynlibOverride", "crypto")