mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-22 16:20:54 +00:00
test: fixed cpputest build's
This commit is contained in:
parent
32b985fcd4
commit
c763cd5141
@ -11,7 +11,7 @@ link_directories(${LIBUSB_LIBRARY_DIRS})
|
||||
link_libraries(${LIBUSB_LIBRARIES})
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -8,7 +8,7 @@ set (BTSTACK_ROOT ${CMAKE_SOURCE_DIR}/../../)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -8,7 +8,7 @@ set (BTSTACK_ROOT ${CMAKE_SOURCE_DIR}/../../)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -8,7 +8,7 @@ find_package(PkgConfig REQUIRED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -5,7 +5,7 @@ project(gatt-client-test)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -5,7 +5,7 @@ project(gatt-client-test)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -5,7 +5,7 @@ project(gatt_server)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -5,7 +5,7 @@ project(test-hfp)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -5,7 +5,7 @@ project(gatt-client-test)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -5,7 +5,7 @@ project(gatt-client-test)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
@ -71,7 +71,7 @@ foreach(EXAMPLE_FILE ${EXAMPLES_C})
|
||||
message("example ${EXAMPLE} -- with GATT DB")
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/../../tool/compile_gatt.py ${CMAKE_SOURCE_DIR}/${EXAMPLE}.gatt ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h > /dev/null
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/../../tool/compile_gatt.py ${CMAKE_SOURCE_DIR}/${EXAMPLE}.gatt ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h > /dev/null
|
||||
)
|
||||
add_executable(${EXAMPLE} ${EXAMPLE_FILE} ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h)
|
||||
else()
|
||||
@ -85,7 +85,7 @@ endforeach(EXAMPLE_FILE)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# CppuTest
|
||||
pkg_check_modules(CPPUTEST REQUIRED CppuTest)
|
||||
pkg_check_modules(CPPUTEST REQUIRED cpputest)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS})
|
||||
link_directories(${CPPUTEST_LIBRARY_DIRS})
|
||||
link_libraries(${CPPUTEST_LIBRARIES})
|
||||
|
Loading…
x
Reference in New Issue
Block a user