mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-12 09:00:51 +00:00
06bb6923c3
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.
14 lines
361 B
CMake
14 lines
361 B
CMake
cmake_minimum_required (VERSION 2.6)
|
|
project (otshell CXX)
|
|
|
|
# Add executable
|
|
|
|
file(GLOB otshell_utils_sources # All files in directory:
|
|
"*.h"
|
|
"*.hpp"
|
|
"*.cpp"
|
|
)
|
|
|
|
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
|