From b9dbe248aaa62b61b8513a67bec354701479eb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filiph=20Sandstr=C3=B6m?= Date: Mon, 21 Feb 2022 15:07:01 +0100 Subject: [PATCH] Lagom: Port LibSyntax LibSyntax was already building for lagom without any extra changes so let's just enable it :^) --- Meta/Lagom/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 32b4eed19b8..b2c4b10c948 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -344,9 +344,9 @@ if (BUILD_LAGOM) # GUI-GML file(GLOB LIBGUI_GML_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGUI/GML/*.cpp") list(REMOVE_ITEM LIBGUI_GML_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../../Userland/Libraries/LibGUI/GML/AutocompleteProvider.cpp") - list(REMOVE_ITEM LIBGUI_GML_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../../Userland/Libraries/LibGUI/GML/SyntaxHighlighter.cpp") lagom_lib(GML gml SOURCES ${LIBGUI_GML_SOURCES} + LIBS LagomSyntax ) # HTTP @@ -423,6 +423,12 @@ if (BUILD_LAGOM) LIBS m LagomGfx ) + # Syntax + file(GLOB LIBSYNTAX_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibSyntax/*.cpp") + lagom_lib(Syntax syntax + SOURCES ${LIBSYNTAX_SOURCES} + ) + # SQL 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")