diff options
| author | mj-xmr <mjxmr@protonmail.com> | 2020-10-26 20:53:21 +0100 |
|---|---|---|
| committer | mj-xmr <mjxmr@protonmail.com> | 2020-10-28 20:08:26 +0100 |
| commit | 8a282f64c9c99f584d2a1bd06a11ad5651cd2413 (patch) | |
| tree | 6f145354d796770e5e84ca6b3579b5c1231f7ee3 /tests/crypto | |
| parent | 8b3b106ad1bc32b81a3ef74e789844d9f671f709 (diff) | |
| download | monzero-core-8a282f64c9c99f584d2a1bd06a11ad5651cd2413.tar.gz monzero-core-8a282f64c9c99f584d2a1bd06a11ad5651cd2413.tar.xz monzero-core-8a282f64c9c99f584d2a1bd06a11ad5651cd2413.zip | |
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.
Diffstat (limited to 'tests/crypto')
| -rw-r--r-- | tests/crypto/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/crypto/CMakeLists.txt b/tests/crypto/CMakeLists.txt index dcf5d8fb0..c8ea5a604 100644 --- a/tests/crypto/CMakeLists.txt +++ b/tests/crypto/CMakeLists.txt @@ -37,7 +37,7 @@ set(crypto_sources set(crypto_headers crypto-tests.h) -add_executable(cncrypto-tests +monero_add_minimal_executable(cncrypto-tests ${crypto_sources} ${crypto_headers}) target_link_libraries(cncrypto-tests @@ -53,7 +53,7 @@ add_test( NAME cncrypto COMMAND cncrypto-tests "${CMAKE_CURRENT_SOURCE_DIR}/tests.txt") -add_executable(cnv4-jit-tests cnv4-jit.c) +monero_add_minimal_executable(cnv4-jit-tests cnv4-jit.c) target_link_libraries(cnv4-jit-tests PRIVATE common |
