standardize flag handling
[sqlcipher.git] / SQLCipher.podspec.json
blobdcea74f92e44b90a8308c06ef085b35969b4bfee
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": "11.0",
10     "osx": "10.13",
11     "tvos": "11.0",
12     "watchos": "7.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": "v4.5.4"
19   },
20   "summary": "Full Database Encryption for SQLite.",
21   "version": "4.5.4",
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         "HEADER_SEARCH_PATHS": "$(PODS_ROOT)/SQLCipher",
54         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) SQLITE_HAS_CODEC=1",
55         "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"
56       }
57     },
58     {
59       "dependencies": {
60         "SQLCipher/common": [
62         ]
63       },
64       "name": "standard"
65     },
66     {
67       "compiler_flags": "",
68       "dependencies": {
69         "SQLCipher/common": [
71         ]
72       },
73       "name": "fts",
74       "xcconfig": {
75         "OTHER_CFLAGS": "$(inherited)"
76       }
77     },
78     {
79       "compiler_flags": "",
80       "dependencies": {
81         "SQLCipher/common": [
83         ]
84       },
85       "name": "unlock_notify",
86       "xcconfig": {
87         "OTHER_CFLAGS": "$(inherited)"
88       }
89     }
90   ]