xuzhenbao commented on code in PR #437:
URL: https://github.com/apache/celix/pull/437#discussion_r956048891


##########
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/CMakeLists.txt:
##########
@@ -0,0 +1,57 @@
+# 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.
+
+find_package(libuuid REQUIRED)
+
+add_celix_bundle(rsa_shm
+    VERSION 1.0.0
+    SYMBOLIC_NAME "apache_celix_remote_service_admin_shm_v2"
+    NAME "Apache Celix Remote Service Admin SHM V2"
+    GROUP "Celix/RSA"
+    SOURCES
+    src/rsa_shm_impl.c
+    src/rsa_shm_activator.c
+    src/rsa_shm_server.c
+    src/rsa_shm_client.c
+    src/rsa_shm_export_registration.c
+    src/rsa_shm_import_registration.c
+    src/thpool/thpool.c
+)
+
+target_include_directories(rsa_shm PRIVATE src src/thpool)
+
+if (ENABLE_TESTING)
+    celix_bundle_private_libs(rsa_shm Celix::shm_pool)

Review Comment:
   Thanks for your review.  It is a bug. Because no other module uses 
`shm_pool`, now build the `shm_pool` as a static library, and it is private for 
`rsa_shm` bundle



-- 
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: dev-unsubscr...@celix.apache.org

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

Reply via email to