From 6f5d7cd7d634e3939b1c9326c99760aea9b445fb Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 20 Jun 2019 12:40:39 -0400 Subject: [PATCH] update scratchpad CMakeLists.txt build --- CMakeLists.txt | 120 ++++++++++++++++++++++++------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d174edd..74c1a2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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} -) \ No newline at end of file +) + +######################## +# 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 --- \ No newline at end of file