Files
qt-creator/tests/auto/tracing/flamegraphview/CMakeLists.txt
Eike Ziller 55fa109b59 CMake build: Use version-less Qt targets
Since we do not support Qt < 5.15 anymore, and as a first step
for getting rid of our special FindQt5.cmake.

Change-Id: Icc5dbaf9b0a3a622b1f609ff114b9decb6d2856c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-01-05 10:13:16 +00:00

25 lines
540 B
CMake

set(TSTFLAMEGRAPHVIEW_CPP_SOURCES
testflamegraphmodel.h
tst_flamegraphview.cpp
)
add_qtc_test(tst_tracing_flamegraphview
EXCLUDE_FROM_PRECHECK
DEPENDS Tracing Qt::QuickWidgets Qt::Quick Utils
)
if (NOT TARGET tst_tracing_flamegraphview) # qt_add_qml_module has no DEPENDS check
return()
endif()
qt_add_qml_module(tst_tracing_flamegraphview
URI "QtCreator.TstTracingFlameGraphView"
VERSION "1.0"
NO_PLUGIN
RESOURCE_PREFIX "/qt/qml"
QML_FILES
TestFlameGraphView.qml
SOURCES
${TSTFLAMEGRAPHVIEW_CPP_SOURCES}
)