ywkaras commented on code in PR #10702:
URL: https://github.com/apache/trafficserver/pull/10702#discussion_r1378309626


##########
plugins/experimental/uri_signing/unit_tests/CMakeLists.txt:
##########
@@ -0,0 +1,42 @@
+#######################
+#
+#  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_executable(
+  uri_signing_test
+  uri_signing_test.cc
+  ${PROJECT_SOURCE_DIR}/jwt.cc
+  ${PROJECT_SOURCE_DIR}/common.cc
+  ${PROJECT_SOURCE_DIR}/config.cc
+  ${PROJECT_SOURCE_DIR}/cookie.cc
+  ${PROJECT_SOURCE_DIR}/jwt.cc
+  ${PROJECT_SOURCE_DIR}/match.cc
+  ${PROJECT_SOURCE_DIR}/normalize.cc
+  ${PROJECT_SOURCE_DIR}/parse.cc
+  ${PROJECT_SOURCE_DIR}/timing.cc
+  ${PROJECT_SOURCE_DIR}/uri_signing.cc
+)
+target_compile_definitions(uri_signing_test PRIVATE UNITTEST)
+target_include_directories(uri_signing_test PRIVATE ${PROJECT_SOURCE_DIR})
+target_link_libraries(
+  test_content_range
+  PRIVATE
+  catch2::catch2
+  jansson::jansson
+  cjose::cjose
+  PCRE::PCRE

Review Comment:
   PCRE is linked in the autotools Makefile.inc.  Could it be an indirect 
depedency?



-- 
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-unsubscr...@trafficserver.apache.org

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

Reply via email to