Skip to content

Commit

Permalink
Lagom: Exclude LibSQL/SQLClient.cpp and the sql utility from Lagom
Browse files Browse the repository at this point in the history
Lagom doesn't seem to like IPC services, and sql needs SQLClient.
  • Loading branch information
JanDeVisser authored and alimpfard committed Jul 8, 2021
1 parent a034774 commit 99dc346
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Meta/Lagom/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 99dc346

Please sign in to comment.