update scratchpad CMakeLists.txt build

This commit is contained in:
woodser
2019-06-20 12:40:39 -04:00
parent 7590b77ec6
commit 6f5d7cd7d6
+60 -60
View File
@@ -226,65 +226,6 @@ add_library(version STATIC IMPORTED)
set_target_properties(version PROPERTIES IMPORTED_LOCATION
${EXTERNAL_LIBS_DIR}/monero-core/libversion.a)
########################
# Build C++ scratchpad
########################
#[[ --- START BLOCK COMMENT ---
set(
SCRATCHPAD_SRC_FILES
test/Scratchpad.cpp
)
add_executable(scratchpad ${SCRATCHPAD_SRC_FILES})
target_link_libraries(scratchpad
hidapi
boost_chrono
boost_date_time
boost_filesystem
boost_program_options
boost_regex
boost_serialization
boost_wserialization
boost_system
boost_thread
ssl
crypto
wallet_merged
#wallet_api
wallet
lmdb
epee
unbound
sodium
easylogging
cryptonote_core
cryptonote_basic
mnemonics
ringct
ringct_basic
common
cncrypto
blockchain_db
blocks
checkpoints
device
device_trezor
multisig
version
${EXTRA_LIBRARIES}
)
]] # --- END BLOCK COMMENT ---
########################
# Build c++ library
########################
@@ -342,4 +283,63 @@ target_link_libraries(monero-cpp
version
${EXTRA_LIBRARIES}
)
)
########################
# Build C++ scratchpad
########################
#[[ --- START BLOCK COMMENT ---
set(
SCRATCHPAD_SRC_FILES
test/Scratchpad.cpp
)
add_executable(scratchpad ${SCRATCHPAD_SRC_FILES} ${LIBRARY_SRC_FILES})
target_link_libraries(scratchpad
hidapi
boost_chrono
boost_date_time
boost_filesystem
boost_program_options
boost_regex
boost_serialization
boost_wserialization
boost_system
boost_thread
ssl
crypto
wallet_merged
#wallet_api
wallet
lmdb
epee
unbound
sodium
easylogging
cryptonote_core
cryptonote_basic
mnemonics
ringct
ringct_basic
common
cncrypto
blockchain_db
blocks
checkpoints
device
device_trezor
multisig
version
${EXTRA_LIBRARIES}
)
#]] # --- END BLOCK COMMENT ---