[ 
https://issues.apache.org/jira/browse/GEODE-9356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17398263#comment-17398263
 ] 

ASF GitHub Bot commented on GEODE-9356:
---------------------------------------

pdxcodemonkey commented on a change in pull request #839:
URL: https://github.com/apache/geode-native/pull/839#discussion_r688046303



##########
File path: netcore/CMakeLists.txt
##########
@@ -0,0 +1,27 @@
+# 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.
+
+project(netcore LANGUAGES NONE)
+
+option(INCLUDE_DOTNET_CORE "Build .NET Core client." ON)
+
+find_program(DOTNET dotnet)
+
+if(DOTNET AND INCLUDE_DOTNET_CORE)
+  add_custom_target(netcore ALL COMMAND ${DOTNET} build --configuration 
$<CONFIG> WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/NetCore DEPENDS 
apache-geode-c VERBATIM)
+  add_custom_target(netcore-test ALL COMMAND ${DOTNET} build --configuration 
$<CONFIG> WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/NetCore.Test DEPENDS 
netcore VERBATIM)
+
+  install(FILES 
${CMAKE_CURRENT_SOURCE_DIR}/NetCore/bin/$<CONFIG>/netcoreapp3.1/Apache.Geode.NetCore.dll
 DESTINATION ./lib)

Review comment:
       I believe this is correct, yes.  Symbols also live in .pdb files on all 
platforms, IIRC.  I don't recall how library resolution works in .net core on 
non-Windows platforms, tho.




-- 
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: notifications-unsubscr...@geode.apache.org

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


> Create CI pipeline for net-core
> -------------------------------
>
>                 Key: GEODE-9356
>                 URL: https://issues.apache.org/jira/browse/GEODE-9356
>             Project: Geode
>          Issue Type: Task
>          Components: native client
>            Reporter: Ernest Burghardt
>            Priority: Major
>              Labels: pull-request-available
>
> This pipeline will be hosted on the Apache publicly available Concourse and 
> publish to NuGet



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to