summaryrefslogtreecommitdiff
path: root/tests/lib/glib/echo/CMakeLists.txt
blob: 3212b2816f557077cc5f2be3c50328063b18105a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if(ENABLE_TP_GLIB_TESTS)
    include_directories(${CMAKE_CURRENT_BINARY_DIR})

    set(example_cm_echo_SRCS
        chan.c
        chan.h
        conn.c
        conn.h
        connection-manager.c
        connection-manager.h
        im-manager.c
        im-manager.h
    )

    add_library(example-cm-echo STATIC ${example_cm_echo_SRCS})
    target_link_libraries(example-cm-echo ${TPGLIB_LIBRARIES})
    tpqt_generate_manager_file(${CMAKE_CURRENT_SOURCE_DIR}/manager-file.py example_echo.manager connection-manager.c)
endif(ENABLE_TP_GLIB_TESTS)