You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by is...@apache.org on 2024/06/27 11:46:39 UTC

(ignite-3) branch main updated: IGNITE-22460 Rename libignite-client.so to libignite3-client.so (#3998)

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

isapego pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 879936c865 IGNITE-22460 Rename libignite-client.so to libignite3-client.so (#3998)
879936c865 is described below

commit 879936c86553adea3225f450d0318dc63355c5a2
Author: Igor Sapego <is...@apache.org>
AuthorDate: Thu Jun 27 15:46:35 2024 +0400

    IGNITE-22460 Rename libignite-client.so to libignite3-client.so (#3998)
---
 modules/platforms/build.gradle                         | 4 ++--
 modules/platforms/cpp/ignite/client/CMakeLists.txt     | 4 ++--
 modules/platforms/cpp/tests/client-test/CMakeLists.txt | 2 +-
 modules/platforms/cpp/tests/odbc-test/CMakeLists.txt   | 2 +-
 packaging/README.md                                    | 6 +++---
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/modules/platforms/build.gradle b/modules/platforms/build.gradle
index 3ebb22bf7b..a17fca3197 100644
--- a/modules/platforms/build.gradle
+++ b/modules/platforms/build.gradle
@@ -171,10 +171,10 @@ artifacts {
         cppClientHeaders(file("$buildDir/install/include")) {
             builtBy cmakeBuildClient
         }
-        cppClient(file("$buildDir/cpp/lib/libignite-client.so.3")) {
+        cppClient(file("$buildDir/cpp/lib/libignite3-client.so.3")) {
             builtBy cmakeBuildClient
         }
-        cppClient(file("$buildDir/cpp/lib/libignite-client.so")) {
+        cppClient(file("$buildDir/cpp/lib/libignite3-client.so")) {
             builtBy cmakeBuildClient
         }
         odbc(file("$buildDir/cpp/lib/libignite3-odbc.so")) {
diff --git a/modules/platforms/cpp/ignite/client/CMakeLists.txt b/modules/platforms/cpp/ignite/client/CMakeLists.txt
index bc7210d1cd..32485c55ff 100644
--- a/modules/platforms/cpp/ignite/client/CMakeLists.txt
+++ b/modules/platforms/cpp/ignite/client/CMakeLists.txt
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-project(ignite-client)
+project(ignite3-client)
 
 set(TARGET ${PROJECT_NAME})
 
@@ -86,7 +86,7 @@ foreach(_target_lib IN LISTS _target_libs)
     set_target_properties(${_target_lib} PROPERTIES POSITION_INDEPENDENT_CODE 1)
 
     if (WIN32)
-        set_target_properties(${_target_lib} PROPERTIES OUTPUT_NAME "ignite-client")
+        set_target_properties(${_target_lib} PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
     endif()
 
     target_link_libraries(${_target_lib} ${LIBRARIES})
diff --git a/modules/platforms/cpp/tests/client-test/CMakeLists.txt b/modules/platforms/cpp/tests/client-test/CMakeLists.txt
index a50ce864f3..eca1fbf807 100644
--- a/modules/platforms/cpp/tests/client-test/CMakeLists.txt
+++ b/modules/platforms/cpp/tests/client-test/CMakeLists.txt
@@ -37,4 +37,4 @@ set(SOURCES
     transactions_test.cpp
 )
 
-ignite_test(${TARGET} SOURCES ${SOURCES} LIBS ignite-test-common ignite-client)
+ignite_test(${TARGET} SOURCES ${SOURCES} LIBS ignite-test-common ignite3-client)
diff --git a/modules/platforms/cpp/tests/odbc-test/CMakeLists.txt b/modules/platforms/cpp/tests/odbc-test/CMakeLists.txt
index b8825eafb1..e72826a833 100644
--- a/modules/platforms/cpp/tests/odbc-test/CMakeLists.txt
+++ b/modules/platforms/cpp/tests/odbc-test/CMakeLists.txt
@@ -34,7 +34,7 @@ set(SOURCES
     transaction_test.cpp
 )
 
-ignite_test(${TARGET} SOURCES ${SOURCES} LIBS ignite-test-common ignite-client ${ODBC_LIBRARY})
+ignite_test(${TARGET} SOURCES ${SOURCES} LIBS ignite-test-common ignite3-client ${ODBC_LIBRARY})
 
 if (WIN32)
     remove_definitions(-DUNICODE=1)
diff --git a/packaging/README.md b/packaging/README.md
index 625cafbbde..3a6ce2e9a2 100644
--- a/packaging/README.md
+++ b/packaging/README.md
@@ -23,11 +23,11 @@ The layout of the packages is as follows:
     * contains jars under `lib` directory
 * ignite3-client:
   * DEB,RPM:
-    * installs headers under `/usr/include/ignite/*`
-    * installs library under `/usr/lib/libignite-client.so`
+    * installs headers under `/usr/include/ignite3/*`
+    * installs library under `/usr/lib/libignite3-client.so`
   * ZIP
     * contains headers under `include` direcotry
-    * contains library `libignite-client.so` under `lib`
+    * contains library `libignite3-client.so` under `lib`
 * ignite3-dotnet-client:
   * DEB,RPM:
     * installs library, symbols and definitions under `/usr/lib/ignite3-dotnet-client`