forked from qt-creator/qt-creator
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>
25 lines
540 B
CMake
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}
|
|
)
|