1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:47:44 +00:00

LibSQL+SQLServer: Generate SQLServer's IPC sources with LibSQL on Lagom

Exclude SQLServer from Lagom, and instead generate its IPC sources with
LibSQL.
This commit is contained in:
Timothy Flynn 2022-12-05 10:43:17 -05:00 committed by Andreas Kling
parent b3e287342f
commit 517742d6f9
2 changed files with 10 additions and 7 deletions

View file

@ -24,18 +24,21 @@ set(SOURCES
ResultSet.cpp
Row.cpp
Serializer.cpp
SQLClient.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
)
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)