Lagom: Exclude LibSQL/SQLClient.cpp and the sql utility from Lagom

Lagom doesn't seem to like IPC services, and sql needs SQLClient.
This commit is contained in:
Jan de Visser 2021-06-28 21:18:46 -04:00 committed by Ali Mohammad Pur
parent a034774e3a
commit 99dc3469e8
Notes: sideshowbarker 2024-07-18 10:04:31 +09:00

View file

@ -83,6 +83,7 @@ file(GLOB SHELL_TESTS CONFIGURE_DEPENDS "../../Userland/Shell/Tests/*.sh")
list(FILTER SHELL_SOURCES EXCLUDE REGEX ".*main.cpp$")
file(GLOB_RECURSE LIBSQL_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibSQL/*.cpp")
list(REMOVE_ITEM LIBSQL_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../../Userland/Libraries/LibSQL/AST/SyntaxHighlighter.cpp")
list(REMOVE_ITEM LIBSQL_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../../Userland/Libraries/LibSQL/SQLClient.cpp")
file(GLOB LIBSQL_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibSQL/*.cpp")
file(GLOB LIBWASM_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibWasm/*/*.cpp")
file(GLOB LIBIMAP_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibIMAP/*.cpp")
@ -196,11 +197,6 @@ if (BUILD_LAGOM)
target_link_libraries(gml-format_lagom Lagom)
target_link_libraries(gml-format_lagom stdc++)
add_executable(sql_lagom ../../Userland/Utilities/sql.cpp)
set_target_properties(sql_lagom PROPERTIES OUTPUT_NAME sql)
target_link_libraries(sql_lagom Lagom)
target_link_libraries(sql_lagom stdc++)
add_executable(test-iodevice ../../Tests/LibCore/TestLibCoreIODevice.cpp ${LIBTEST_MAIN})
set_target_properties(test-iodevice PROPERTIES OUTPUT_NAME test-iodevice)
target_link_libraries(test-iodevice Lagom)