Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)

Add monero_add_minimal_executable and use in tests

This is done in order not to have to relink targets, when just an .so changed, but not its interface.
This commit is contained in:
mj-xmr 2020-10-26 20:53:21 +01:00 committed by wowario
parent 7f8d14ecde
commit 5b43b61153
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111
18 changed files with 54 additions and 33 deletions

View file

@ -40,7 +40,7 @@ set(trezor_tests_headers
../core_tests/chaingen.h
../core_tests/wallet_tools.h)
add_executable(trezor_tests
monero_add_minimal_executable(trezor_tests
${trezor_tests_sources}
${trezor_tests_headers})