summaryrefslogtreecommitdiffstats
path: root/src/sqlite/CMakeLists.txt
blob: f38d08a77281ec4b2c37d0ffdc1892d7c98dca96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/src
  ${ZLIB_INCLUDE_DIR}
)


##### SQLite (static)

tde_add_library( sqlite STATIC_PIC

  SOURCES
    alter.c
    attach.c
    auth.c
    btree.c
    build.c
    callback.c
    date.c
    delete.c
    expr.c
    func.c
    hash.c
    insert.c
    legacy.c
    main.c
    opcodes.c
    os_unix.c
    os_win.c
    pager.c
    parse.c
    pragma.c
    prepare.c
    printf.c
    random.c
    select.c
    table.c
    tokenize.c
    trigger.c
    update.c
    utf.c
    util.c
    vacuum.c
    vdbe.c
    vdbeapi.c
    vdbeaux.c
    vdbemem.c
    where.c

  LINK
    ${ZLIB_LIBRARIES}
)