forked from qt-creator/qt-creator
We don't want to dedicate the whole resource file system to QML. Change-Id: I4c7e4af7aeeab00f44c5244e99949a90abb032cf Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
25 lines
542 B
CMake
25 lines
542 B
CMake
set(TSTFLAMEGRAPHVIEW_CPP_SOURCES
|
|
testflamegraphmodel.h
|
|
tst_flamegraphview.cpp
|
|
)
|
|
|
|
add_qtc_test(tst_tracing_flamegraphview
|
|
EXCLUDE_FROM_PRECHECK
|
|
DEPENDS Tracing Qt5::QuickWidgets Qt5::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}
|
|
)
|