use defines for modes in sqlite3Codec
[sqlcipher.git] / SQLCipher.podspec.json
blob1782a5f0221452a57515cab58cf5eece9276a6c8
2   "authors": "Zetetic LLC",
3   "default_subspecs": "standard",
4   "description": "SQLCipher is an open source extension to SQLite that provides transparent 256-bit AES encryption of database files.",
5   "homepage": "https://www.zetetic.net/sqlcipher/",
6   "license": "BSD",
7   "name": "SQLCipher",
8   "platforms": {
9     "ios": "8.0",
10     "osx": "10.9",
11     "tvos": "9.0",
12     "watchos": "2.0"
13   },
14   "prepare_command": "./configure --enable-tempstore=yes --with-crypto-lib=commoncrypto CFLAGS=\"-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_STAT3 -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_LOAD_EXTENSION -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS4_UNICODE61 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DHAVE_USLEEP=1 -DSQLITE_MAX_VARIABLE_NUMBER=99999\"; make sqlite3.c",
15   "requires_arc": false,
16   "source": {
17     "git": "https://github.com/sqlcipher/sqlcipher.git",
18     "tag": "v3.4.2"
19   },
20   "summary": "Full Database Encryption for SQLite.",
21   "version": "3.4.2",
22   "subspecs": [
23     {
24       "compiler_flags": [
25         "-DNDEBUG",
26         "-DSQLITE_HAS_CODEC",
27         "-DSQLITE_TEMP_STORE=2",
28         "-DSQLITE_SOUNDEX",
29         "-DSQLITE_THREADSAFE",
30         "-DSQLITE_ENABLE_RTREE",
31         "-DSQLITE_ENABLE_STAT3",
32         "-DSQLITE_ENABLE_STAT4",
33         "-DSQLITE_ENABLE_COLUMN_METADATA",
34         "-DSQLITE_ENABLE_MEMORY_MANAGEMENT",
35         "-DSQLITE_ENABLE_LOAD_EXTENSION",
36         "-DSQLITE_ENABLE_FTS4",
37         "-DSQLITE_ENABLE_FTS4_UNICODE61",
38         "-DSQLITE_ENABLE_FTS3_PARENTHESIS",
39         "-DSQLITE_ENABLE_UNLOCK_NOTIFY",
40         "-DSQLITE_ENABLE_JSON1",
41         "-DSQLITE_ENABLE_FTS5",
42         "-DSQLCIPHER_CRYPTO_CC",
43         "-DHAVE_USLEEP=1",
44         "-DSQLITE_MAX_VARIABLE_NUMBER=99999"
45       ],
46       "frameworks": [
47         "Foundation",
48         "Security"
49       ],
50       "name": "common",
51       "source_files": "sqlite3.{h,c}",
52       "xcconfig": {
53         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) SQLITE_HAS_CODEC=1",
54         "OTHER_CFLAGS": "$(inherited) -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_STAT3 -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_LOAD_EXTENSION -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS4_UNICODE61 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DSQLCIPHER_CRYPTO_CC -DHAVE_USLEEP=1 -DSQLITE_MAX_VARIABLE_NUMBER=99999"
55       }
56     },
57     {
58       "dependencies": {
59         "SQLCipher/common": [
61         ]
62       },
63       "name": "standard"
64     },
65     {
66       "compiler_flags": "",
67       "dependencies": {
68         "SQLCipher/common": [
70         ]
71       },
72       "name": "fts",
73       "xcconfig": {
74         "OTHER_CFLAGS": "$(inherited)"
75       }
76     },
77     {
78       "compiler_flags": "",
79       "dependencies": {
80         "SQLCipher/common": [
82         ]
83       },
84       "name": "unlock_notify",
85       "xcconfig": {
86         "OTHER_CFLAGS": "$(inherited)"
87       }
88     }
89   ]