summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/ifcodegen/org-example-echo-noprivate/test/CMakeLists.txt
blob: 40e0df631a7e32683612ffd9d72544f9b7baf24f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

if (NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp")
    file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp)
endif()
qt_internal_add_test(tst_org-example-echo-noprivate
    SOURCES
        ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp
    LIBRARIES
        echo_noprivate_frontend
)
set_target_properties(tst_org-example-echo-noprivate PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)

# Interface Framework Generator:
qt6_ifcodegen_extend_target(tst_org-example-echo-noprivate
    IDL_FILES ../../org.example.echo.qface
    TEMPLATE test
    ANNOTATION_FILES ../../no-private.yaml
)