summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSQL/CMakeLists.txt
blob: febcb1c28d15752e5f0703698d42eb6e77c4ec38 (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
set(SOURCES
    AST/CreateSchema.cpp
    AST/CreateTable.cpp
    AST/Delete.cpp
    AST/Describe.cpp
    AST/Expression.cpp
    AST/Insert.cpp
    AST/Lexer.cpp
    AST/Parser.cpp
    AST/Select.cpp
    AST/Statement.cpp
    AST/SyntaxHighlighter.cpp
    AST/Token.cpp
    AST/Update.cpp
    BTree.cpp
    BTreeIterator.cpp
    Database.cpp
    HashIndex.cpp
    Heap.cpp
    Index.cpp
    Key.cpp
    Meta.cpp
    Result.cpp
    ResultSet.cpp
    Row.cpp
    Serializer.cpp
    SQLClient.cpp
    TreeNode.cpp
    Tuple.cpp
    Value.cpp
)

if (NOT SERENITYOS)
    compile_ipc(../../Services/SQLServer/SQLClient.ipc ../../Services/SQLServer/SQLClientEndpoint.h)
    compile_ipc(../../Services/SQLServer/SQLServer.ipc ../../Services/SQLServer/SQLServerEndpoint.h)
endif()

set(GENERATED_SOURCES
    ../../Services/SQLServer/SQLClientEndpoint.h
    ../../Services/SQLServer/SQLServerEndpoint.h
)

serenity_lib(LibSQL sql)
target_link_libraries(LibSQL PRIVATE LibCore LibIPC LibSyntax LibRegex)