You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2023/07/10 22:58:40 UTC
[trafficserver] 05/09: Build remap_purge plugin in CMake build (#9978)
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 2826798848928a9498f97c04d46b064754590ee7
Author: JosiahWI <41...@users.noreply.github.com>
AuthorDate: Mon Jul 10 09:28:04 2023 -0500
Build remap_purge plugin in CMake build (#9978)
---
plugins/CMakeLists.txt | 1 +
plugins/remap_purge/CMakeLists.txt | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 9e156d24d5..0bb3c9e220 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -46,6 +46,7 @@ add_subdirectory(header_rewrite)
add_subdirectory(libloader)
add_subdirectory(multiplexer)
add_subdirectory(prefetch)
+add_subdirectory(remap_purge)
add_subdirectory(regex_remap)
add_subdirectory(s3_auth)
add_subdirectory(xdebug)
diff --git a/plugins/remap_purge/CMakeLists.txt b/plugins/remap_purge/CMakeLists.txt
new file mode 100644
index 0000000000..e43f9db5fa
--- /dev/null
+++ b/plugins/remap_purge/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(remap_purge remap_purge.c)
+
+target_include_directories(remap_purge PRIVATE "${PROJECT_SOURCE_DIR}/include")