summaryrefslogtreecommitdiffstats
path: root/test/direct_bt/CMakeLists.txt
blob: 0aad6245bc763d0f04ce568b7f8cfa0d8b2d8fbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
include_directories(
  ${PROJECT_SOURCE_DIR}/include/cppunit
  ${PROJECT_SOURCE_DIR}/api
)

add_executable (test_uuid            test_uuid.cpp)
add_executable (test_basictypes01    test_basictypes01.cpp)
add_executable (test_attpdu01        test_attpdu01.cpp)
add_executable (test_lfringbuffer01  test_lfringbuffer01.cpp)
add_executable (test_lfringbuffer11  test_lfringbuffer11.cpp)

set_target_properties(list_mfg
    PROPERTIES
    CXX_STANDARD 11)

target_link_libraries (test_basictypes01 direct_bt)
target_link_libraries (test_uuid direct_bt)
target_link_libraries (test_attpdu01 direct_bt)
target_link_libraries (test_lfringbuffer01 direct_bt)
target_link_libraries (test_lfringbuffer11 direct_bt)

add_test (NAME basictypes01   COMMAND test_basictypes01)
add_test (NAME uuid           COMMAND test_uuid)
add_test (NAME attpdu01       COMMAND test_attpdu01)
add_test (NAME lfringbuffer01 COMMAND test_lfringbuffer01)
add_test (NAME lfringbuffer11 COMMAND test_lfringbuffer11)