all repos — litestore @ 1270a2fe1cce8a94c455eec8e0cb09f73e062d1c

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")