]> source.dussan.org Git - rspamd.git/commitdiff
[Project] Css: Remove ragel from build targets (maybe keep for reference)
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 9 Apr 2021 09:40:25 +0000 (10:40 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 9 Apr 2021 09:40:25 +0000 (10:40 +0100)
src/libserver/css/CMakeLists.txt

index e0eab20d70b7485486d878a957c9742aead0f389..c0c9d5169e8d1395f7422549cf09c5efaa50bfa6 100644 (file)
@@ -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