commit 3687fce: [Project] Css: Remove ragel from build targets (maybe keep for reference)

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Apr 9 09:42:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-04-09 10:40:25 +0100
URL: https://github.com/rspamd/rspamd/commit/3687fceee0adb023dc260338d2a4bae7a9ad5556 (HEAD -> master)

[Project] Css: Remove ragel from build targets (maybe keep for reference)

---
 src/libserver/css/CMakeLists.txt | 19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)

diff --git a/src/libserver/css/CMakeLists.txt b/src/libserver/css/CMakeLists.txt
index e0eab20d7..c0c9d5169 100644
--- a/src/libserver/css/CMakeLists.txt
+++ b/src/libserver/css/CMakeLists.txt
@@ -1,15 +1,3 @@
-SET(RAGEL_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/css_syntax.rl")
-RAGEL_TARGET(ragel_css_selector_parser
-        INPUTS ${CMAKE_CURRENT_SOURCE_DIR}/css_selector_parser.rl
-        DEPENDS ${RAGEL_DEPENDS}
-        COMPILE_FLAGS -G2
-        OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/css_selector_parser.rl.cxx)
-RAGEL_TARGET(ragel_css_rule_parser
-        INPUTS ${CMAKE_CURRENT_SOURCE_DIR}/css_rule_parser.rl
-        DEPENDS ${RAGEL_DEPENDS}
-        COMPILE_FLAGS -G2
-        OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/css_rule_parser.rl.cxx)
-
 SET(LIBCSSSRC    "${CMAKE_CURRENT_SOURCE_DIR}/css.cxx"
                  "${CMAKE_CURRENT_SOURCE_DIR}/css_property.cxx"
                  "${CMAKE_CURRENT_SOURCE_DIR}/css_value.cxx"
@@ -18,9 +6,4 @@ SET(LIBCSSSRC    "${CMAKE_CURRENT_SOURCE_DIR}/css.cxx"
                  "${CMAKE_CURRENT_SOURCE_DIR}/css_util.cxx"
                  "${CMAKE_CURRENT_SOURCE_DIR}/css_rule.cxx"
                  "${CMAKE_CURRENT_SOURCE_DIR}/css_parser.cxx"
-                 "${RAGEL_ragel_css_selector_parser_OUTPUTS}"
-                 "${RAGEL_ragel_css_rule_parser_OUTPUTS}"
-                 PARENT_SCOPE)
-SET(LIBCSS_DEPENDS "ragel_css_selector_parser;ragel_css_rule_parser" PARENT_SCOPE)
-SET(LIBCSS_GENERATED
-        "${RAGEL_ragel_css_selector_parser_OUTPUTS};${RAGEL_ragel_css_rule_parser_OUTPUTS}" PARENT_SCOPE)
\ No newline at end of file
+                 PARENT_SCOPE)
\ No newline at end of file


More information about the Commits mailing list