mirror of
https://github.com/RGBCube/serenity
synced 2025-05-27 23:35:08 +00:00

Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
39 lines
788 B
CMake
39 lines
788 B
CMake
set(SOURCES
|
|
AST/CreateSchema.cpp
|
|
AST/CreateTable.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
|
|
BTree.cpp
|
|
BTreeIterator.cpp
|
|
Database.cpp
|
|
HashIndex.cpp
|
|
Heap.cpp
|
|
Index.cpp
|
|
Key.cpp
|
|
Meta.cpp
|
|
Result.cpp
|
|
ResultSet.cpp
|
|
Row.cpp
|
|
Serializer.cpp
|
|
TreeNode.cpp
|
|
Tuple.cpp
|
|
Value.cpp
|
|
)
|
|
|
|
if (SERENITYOS)
|
|
list(APPEND SOURCES SQLClient.cpp)
|
|
set(GENERATED_SOURCES
|
|
../../Services/SQLServer/SQLClientEndpoint.h
|
|
../../Services/SQLServer/SQLServerEndpoint.h
|
|
)
|
|
endif()
|
|
|
|
serenity_lib(LibSQL sql)
|
|
target_link_libraries(LibSQL PRIVATE LibCore LibIPC LibSyntax LibRegex)
|