From 062874670101703a2e3924e2a22cf83352aba2e1 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Fri, 18 Sep 2020 15:02:36 -0700 Subject: [PATCH] [cmake] list targets one per line in unit test CMakeLists (#5541) This commit changes the unit tests `CMakeLists.txt` file to list the targets in `set_target_properties()` call one per line. This helps make it easier to read, also reduces the chance of merge conflicts when new unit tests are added. --- tests/unit/CMakeLists.txt | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index 010faf26b..53a07bf1e 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -582,7 +582,30 @@ target_link_libraries(test-timer add_test(NAME test-timer COMMAND test-timer) set_target_properties( - test-aes test-checksum test-child test-child-table test-flash test-heap test-hmac-sha256 test-ip6-address test-link-quality test-linked-list test-lowpan test-mac-frame test-message test-message-queue test-multicast-listeners-table test-ndproxy-table test-netif test-network-data test-pool test-priority-queue test-pskc test-steering-data test-string test-timer + test-aes + test-checksum + test-child + test-child-table + test-flash + test-heap + test-hmac-sha256 + test-ip6-address + test-link-quality + test-linked-list + test-lowpan + test-mac-frame + test-message + test-message-queue + test-multicast-listeners-table + test-ndproxy-table + test-netif + test-network-data + test-pool + test-priority-queue + test-pskc + test-steering-data + test-string + test-timer PROPERTIES C_STANDARD 99 CXX_STANDARD 11