mirror of
https://github.com/monero-project/monero.git
synced 2025-08-19 21:08:01 -04:00
cmake: refactor common code with libraries
This commit is contained in:
parent
c773f465ca
commit
55ca7d3b34
7 changed files with 18 additions and 51 deletions
|
|
@ -43,12 +43,7 @@ set(common_headers
|
|||
util.h
|
||||
varint.h)
|
||||
|
||||
source_group(common
|
||||
FILES
|
||||
${common_sources}
|
||||
${common_headers})
|
||||
|
||||
add_library(common
|
||||
bitmonero_add_library(common
|
||||
${common_sources}
|
||||
${common_headers})
|
||||
target_link_libraries(common
|
||||
|
|
@ -59,6 +54,3 @@ target_link_libraries(common
|
|||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_SYSTEM_LIBRARY}
|
||||
${EXTRA_LIBRARIES})
|
||||
set_property(TARGET common
|
||||
PROPERTY
|
||||
FOLDER "libs")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue