You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2023/07/10 16:22:28 UTC

[trafficserver] branch master updated: Build tcpinfo plugin in CMake build (#9981)

This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a3aaa4b35 Build tcpinfo plugin in CMake build (#9981)
7a3aaa4b35 is described below

commit 7a3aaa4b350a6fe3ee6bb17727176757151772a6
Author: JosiahWI <41...@users.noreply.github.com>
AuthorDate: Mon Jul 10 11:22:23 2023 -0500

    Build tcpinfo plugin in CMake build (#9981)
---
 plugins/CMakeLists.txt         |  1 +
 plugins/tcpinfo/CMakeLists.txt | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index ba2bdd9c83..7fdbbd1216 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -50,6 +50,7 @@ add_subdirectory(remap_purge)
 add_subdirectory(regex_remap)
 add_subdirectory(s3_auth)
 add_subdirectory(stats_over_http)
+add_subdirectory(tcpinfo)
 add_subdirectory(xdebug)
 
 if(HOST_OS STREQUAL "linux")
diff --git a/plugins/tcpinfo/CMakeLists.txt b/plugins/tcpinfo/CMakeLists.txt
new file mode 100644
index 0000000000..1bac388f1f
--- /dev/null
+++ b/plugins/tcpinfo/CMakeLists.txt
@@ -0,0 +1,20 @@
+#######################
+#
+#  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.
+#
+#######################
+
+add_atsplugin(tcpinfo tcpinfo.cc)
+
+target_include_directories(tcpinfo PRIVATE "${PROJECT_SOURCE_DIR}/include")