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

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

commit ba626011b8138ae7b09185163043892dc5e3255e
Author: JosiahWI <[email protected]>
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")

Reply via email to