[mlpack-git] master: Better documentation of BUILD_SHARED_LIBS option. (a59d125)

gitdub at mlpack.org gitdub at mlpack.org
Mon Apr 25 14:31:51 EDT 2016

Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/aa7e51352127e809c9be9c1ec5cd94cb35f2fbd3...7264d37128a9f97ee1f0d481f37cc2bf1d3b1f30


commit a59d1259eceac49b449ac1083e6b1a79aae68b28
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Apr 25 14:31:51 2016 -0400

    Better documentation of BUILD_SHARED_LIBS option.


 CMakeLists.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ecd11c2..b7bf2e6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,6 @@ enable_cxx11()
 # First, define all the compilation options.
 # We default to debugging mode for developers.
-option(BUILD_SHARED_LIBS "Shared/static libs" ON)
 option(DEBUG "Compile with debugging information" ON)
 option(PROFILE "Compile with profiling information" ON)
 option(ARMA_EXTRA_DEBUG "Compile with extra Armadillo debugging symbols." OFF)
@@ -19,8 +18,10 @@ option(MATLAB_BINDINGS "Compile MATLAB bindings if MATLAB is found." OFF)
 option(TEST_VERBOSE "Run test cases with verbose output." OFF)
 option(BUILD_TESTS "Build tests." ON)
 option(BUILD_CLI_EXECUTABLES "Build command-line executables" ON)
+    "Compile shared libraries (if OFF, static libraries are compiled)" ON)
-enable_testing ()
 # Include modules in the CMake directory.

More information about the mlpack-git mailing list