Author: rinrab
Date: Tue Jul  2 21:48:35 2024
New Revision: 1918860

URL: http://svn.apache.org/viewvc?rev=1918860&view=rev
Log:
On the 'cmake' branch: Add BUILD_SHARED_LIBS option.

Now, when required preparations for shared build are done, this option can
be added and enabled.

Little regression: when using shared libraries and compiling test-suite,
some tests would not build, because they requires static libraries. The check
on it would be added later.

By default this option is enabled (set to ON).

This option is taken from the official documentation of CMake [1].

* build/cmake/options.cmake
  (): Add BUILD_SHARED_LIBS option.

[1] https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html

Modified:
    subversion/branches/cmake/build/cmake/options.cmake

Modified: subversion/branches/cmake/build/cmake/options.cmake
URL: 
http://svn.apache.org/viewvc/subversion/branches/cmake/build/cmake/options.cmake?rev=1918860&r1=1918859&r2=1918860&view=diff
==============================================================================
--- subversion/branches/cmake/build/cmake/options.cmake (original)
+++ subversion/branches/cmake/build/cmake/options.cmake Tue Jul  2 21:48:35 2024
@@ -53,3 +53,5 @@ endif()
 option(SVN_BUILD_PROGRAMS "Build Subversion programs (such as svn.exe)" ON)
 option(SVN_BUILD_TOOLS "Build Subversion tools" OFF)
 option(SVN_BUILD_TEST "Build Subversion test-suite" OFF)
+
+option(BUILD_SHARED_LIBS "Build using shared libraries" ON)


Reply via email to