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
Notes: sideshowbarker 2024-07-17 03:38:05 +09:00
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)

View file

@ -5,7 +5,6 @@ add_subdirectory(ImageDecoder)
add_subdirectory(InspectorServer)
add_subdirectory(LookupServer)
add_subdirectory(RequestServer)
add_subdirectory(SQLServer)
add_subdirectory(WebServer)
add_subdirectory(WebSocket)
@ -22,6 +21,7 @@ if (SERENITYOS)
add_subdirectory(NetworkServer)
add_subdirectory(NotificationServer)
add_subdirectory(SpiceAgent)
add_subdirectory(SQLServer)
add_subdirectory(SystemServer)
add_subdirectory(Taskbar)
add_subdirectory(TelnetServer)