summaryrefslogtreecommitdiff
path: root/Meta/Lagom/CMakeLists.txt
diff options
context:
space:
mode:
authorFiliph Sandström <filiph.sandstrom@filfatstudios.com>2022-02-21 15:07:01 +0100
committerLinus Groh <mail@linusgroh.de>2022-02-21 16:42:23 +0000
commitb9dbe248aaa62b61b8513a67bec354701479eb71 (patch)
treea5889b83f8c8a1b0b5265b30a8ff6bc7b4572feb /Meta/Lagom/CMakeLists.txt
parent96459e4b3a6f82118fd40867de4dfe7761baa219 (diff)
downloadserenity-b9dbe248aaa62b61b8513a67bec354701479eb71.zip
Lagom: Port LibSyntax
LibSyntax was already building for lagom without any extra changes so let's just enable it :^)
Diffstat (limited to 'Meta/Lagom/CMakeLists.txt')
-rw-r--r--Meta/Lagom/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt
index 32b4eed19b..b2c4b10c94 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")