summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qsharedmemory/CMakeLists.txt
blob: 5553dfd56bbeb23104f359f7be342e27da940687 (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
if(QT_FEATURE_sharedmemory)
    #####################################################################
    ## tst_qsharedmemory Test:
    #####################################################################

    qt_internal_add_test(tst_qsharedmemory
        SOURCES
            tst_qsharedmemory.cpp
        PUBLIC_LIBRARIES
            Qt::CorePrivate
    )

    ## Scopes:
    #####################################################################

    qt_internal_extend_target(tst_qsharedmemory CONDITION LINUX
        PUBLIC_LIBRARIES
            rt
    )
    add_subdirectory(producerconsumer)
    if(QT_FEATURE_process)
        add_dependencies(tst_qsharedmemory producerconsumer_helper)
    endif()
endif()