port: ignore '*demo_util*' when examples are globbed

This commit is contained in:
Matthias Ringwald 2023-10-04 16:33:39 +02:00
parent b4d037a24c
commit e8b7768f43
3 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ list(SORT EXAMPLES_C)
file(GLOB EXAMPLES_GATT "../../example/*.gatt")
# remove some
file(GLOB EXAMPLES_OFF "../../example/sco_demo_util.c" "../../example/ant_test.c" "../../example/avrcp_browsing_client.c")
file(GLOB EXAMPLES_OFF "../../example/*demo_util*.c" "../../example/ant_test.c" "../../example/avrcp_browsing_client.c")
list(REMOVE_ITEM EXAMPLES_C ${EXAMPLES_OFF})
# on Mac 10.14, adding lwip to libstack results in a yet not understood link error

View File

@ -176,7 +176,7 @@ list(SORT EXAMPLES_C)
file(GLOB EXAMPLES_GATT "${BTSTACK_ROOT}/example/*.gatt")
# remove some
file(GLOB EXAMPLES_OFF "${BTSTACK_ROOT}/example/panu_demo.c" "${BTSTACK_ROOT}/example/sco_demo_util.c" "${BTSTACK_ROOT}/example/ant_test.c" "${BTSTACK_ROOT}/example/avrcp_browsing_client.c")
file(GLOB EXAMPLES_OFF "${BTSTACK_ROOT}/example/panu_demo.c" "${BTSTACK_ROOT}/example/*demo_util*.c" "${BTSTACK_ROOT}/example/ant_test.c" "${BTSTACK_ROOT}/example/avrcp_browsing_client.c")
list(REMOVE_ITEM EXAMPLES_C ${EXAMPLES_OFF})
# on Mac 10.14, adding lwip to libstack results in a yet not understood link error

View File

@ -174,7 +174,7 @@ list(SORT EXAMPLES_C)
file(GLOB EXAMPLES_GATT "${BTSTACK_ROOT}/example/*.gatt")
# remove some
file(GLOB EXAMPLES_OFF "${BTSTACK_ROOT}/example/panu_demo.c" "${BTSTACK_ROOT}/example/sco_demo_util.c" "${BTSTACK_ROOT}/example/ant_test.c" "${BTSTACK_ROOT}/example/avrcp_browsing_client.c")
file(GLOB EXAMPLES_OFF "${BTSTACK_ROOT}/example/panu_demo.c" "${BTSTACK_ROOT}/example/*demo_util*.c" "${BTSTACK_ROOT}/example/ant_test.c" "${BTSTACK_ROOT}/example/avrcp_browsing_client.c")
list(REMOVE_ITEM EXAMPLES_C ${EXAMPLES_OFF})
# on Mac 10.14, adding lwip to libstack results in a yet not understood link error