mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
ce2f1b845f
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.
24 lines
440 B
CMake
24 lines
440 B
CMake
serenity_component(
|
|
SQLServer
|
|
REQUIRED
|
|
TARGETS SQLServer
|
|
)
|
|
|
|
compile_ipc(SQLServer.ipc SQLServerEndpoint.h)
|
|
compile_ipc(SQLClient.ipc SQLClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
DatabaseConnection.cpp
|
|
main.cpp
|
|
SQLStatement.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
SQLClientEndpoint.h
|
|
SQLServerEndpoint.h
|
|
)
|
|
|
|
serenity_bin(SQLServer)
|
|
target_link_libraries(SQLServer PRIVATE LibCore LibIPC LibSQL LibMain)
|