ladybird/Userland/Services/SQLServer/CMakeLists.txt
Jan de Visser a034774e3a LibSQL+SQLServer: Build SQLServer system service
This patch introduces the SQLServer system server. This service is
supposed to be the only process/application talking to database storage.
This makes things like locking and caching more reliable, easier to
implement, and more efficient.

In LibSQL we added a client component that does the ugly IPC nitty-
gritty for you. All that's needed is setting a number of event handler
lambdas and you can connect to databases and execute statements on them.

Applications that wish to use this SQLClient class obviously need to
link LibSQL and LibIPC.
2021-07-08 17:55:59 +04:30

21 lines
399 B
CMake

serenity_component(
SQLServer
REQUIRED
TARGETS SQLServer
)
compile_ipc(SQLServer.ipc SQLServerEndpoint.h)
compile_ipc(SQLClient.ipc SQLClientEndpoint.h)
set(SOURCES
ClientConnection.cpp
DatabaseConnection.cpp
main.cpp
SQLClientEndpoint.h
SQLServerEndpoint.h
SQLStatement.cpp
)
serenity_bin(SQLServer)
target_link_libraries(SQLServer LibCore LibIPC LibSQL)