diff options
Diffstat (limited to 'tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt')
-rw-r--r-- | tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt index ea42d2d..b480d5f 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt +++ b/tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt @@ -5,22 +5,20 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -qt_add_executable(tst_org-example-echo) +file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp) +qt_add_test(tst_org-example-echo + SOURCES + ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp + PUBLIC_LIBRARIES + echo_frontend + Qt::Core + Qt::IviCore + Qt::Test +) +set_target_properties(tst_org-example-echo PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../) # IVI Generator: qt6_ivigenerator(tst_org-example-echo QFACE_SOURCES ../../../org.example.echo.qface QFACE_FORMAT test ) -set_target_properties(tst_org-example-echo PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) - -target_link_libraries(tst_org-example-echo PUBLIC - echo_frontend - Qt::Core - Qt::Gui - Qt::IviCore - Qt::Test -) |