diff options
author | redfish <redfish@galactica.pw> | 2016-09-17 14:03:51 -0400 |
---|---|---|
committer | redfish <redfish@galactica.pw> | 2016-09-18 02:56:26 -0400 |
commit | 06bb6923c3068637af729dd7e7500ce1a6c888b9 (patch) | |
tree | 3255ea59b54c15a71ab4e807b460476723af195c /contrib/otshell_utils/CMakeLists.txt | |
parent | cmake: transitive deps and remove deprecated LINK_* (diff) | |
download | monero-06bb6923c3068637af729dd7e7500ce1a6c888b9.tar.xz |
cmake: support BUILD_SHARED_LIBS built-in option
Support building internal libraries as shared. This reduces
development time by eliminating the need to re-link all
binaries every time non-interface code in the library changes.
Instead, can hack on libxyz, then `make libxyz`, and re-run
monerod.
By default BUILD_SHARED_LIBS is OFF in release build type,
and ON in debug build type, but can be overriden with -D.
Diffstat (limited to '')
-rw-r--r-- | contrib/otshell_utils/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/otshell_utils/CMakeLists.txt b/contrib/otshell_utils/CMakeLists.txt index 7413e0dc5..464b125e4 100644 --- a/contrib/otshell_utils/CMakeLists.txt +++ b/contrib/otshell_utils/CMakeLists.txt @@ -9,6 +9,6 @@ file(GLOB otshell_utils_sources # All files in directory: "*.cpp" ) -add_library (otshell_utils STATIC ${otshell_utils_sources}) +add_library (otshell_utils ${otshell_utils_sources}) set_target_properties (otshell_utils PROPERTIES OUTPUT_NAME "otshell_utils") #target_link_libraries (upnpc-static ${LDLIBS}) # to add used libs |