Lagom: Port LibSyntax

LibSyntax was already building for lagom without any extra changes
so let's just enable it :^)
This commit is contained in:
Filiph Sandström 2022-02-21 15:07:01 +01:00 committed by Linus Groh
parent 96459e4b3a
commit b9dbe248aa
Notes: sideshowbarker 2024-07-19 01:59:31 +09:00

View File

@ -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")