You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "maskit (via GitHub)" <gi...@apache.org> on 2023/01/24 00:39:25 UTC

[GitHub] [trafficserver] maskit commented on a diff in pull request #9290: improve cmake support

maskit commented on code in PR #9290:
URL: https://github.com/apache/trafficserver/pull/9290#discussion_r1084714846


##########
src/tscore/CMakeLists.txt:
##########
@@ -0,0 +1,151 @@
+#######################
+#
+#  Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+#  agreements.  See the NOTICE file distributed with this work for additional information regarding
+#  copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0
+#  (the "License"); you may not use this file except in compliance with the License.  You may obtain
+#  a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software distributed under the License
+#  is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+#  or implied. See the License for the specific language governing permissions and limitations under
+#  the License.
+#
+#######################
+
+
+
+# This executable generates the parse rules that are included in ParseRules.cc
+# Add custom commands and dependencies to make sure this gets build and run before compiling libtscore
+add_executable(CompileParseRules CompileParseRules.cc)
+
+add_custom_command(
+        OUTPUT ParseRulesCType ParseRulesCTypeToUpper ParseRulesCTypeToLower
+        COMMAND CompileParseRules
+        COMMENT "Generating compile parse rules"
+)
+
+add_custom_target(ParseRules ALL DEPENDS ParseRulesCType ParseRulesCTypeToUpper ParseRulesCTypeToLower)
+
+add_library(tscore SHARED
+        AcidPtr.cc
+        Arena.cc
+        ArgParser.cc
+        BaseLogFile.cc
+        BufferWriterFormat.cc
+        ConsistentHash.cc
+        ContFlags.cc
+        CryptoHash.cc
+        DbgCtl.cc
+        Diags.cc
+        Errata.cc
+        EventNotify.cc
+        Extendible.cc
+        HKDF_openssl.cc

Review Comment:
   Can we support boringssl and openssl3? It doesn't have to be done on this PR, but I want to make sure it won't require a drastic change.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org