mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #6937
8a282f6
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 (mj-xmr)
This commit is contained in:
commit
7a0334742a
18 changed files with 54 additions and 33 deletions
|
@ -101,7 +101,7 @@ set(unit_tests_sources
|
|||
set(unit_tests_headers
|
||||
unit_tests_utils.h)
|
||||
|
||||
add_executable(unit_tests
|
||||
monero_add_minimal_executable(unit_tests
|
||||
${unit_tests_sources}
|
||||
${unit_tests_headers})
|
||||
target_link_libraries(unit_tests
|
||||
|
@ -144,6 +144,6 @@ add_test(
|
|||
NAME unit_tests
|
||||
COMMAND unit_tests --data-dir "${TEST_DATA_DIR}")
|
||||
|
||||
add_executable(test_notifier test_notifier.cpp)
|
||||
monero_add_minimal_executable(test_notifier test_notifier.cpp)
|
||||
target_link_libraries(test_notifier ${EXTRA_LIBRARIES})
|
||||
set_property(TARGET test_notifier PROPERTY FOLDER "tests")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue