forked from qt-creator/qt-creator
Qt Creator CMake port
Based on Tobias Hunger's work from a few months ago. The CMake configuration needs libclang and Qt paths specified as CMAKE_PREFIX_PATH. Auto tests are run with "ctest". At the moment the pass rate is 87%. Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
18
src/plugins/qmlpreview/CMakeLists.txt
Normal file
18
src/plugins/qmlpreview/CMakeLists.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
add_qtc_plugin(QmlPreview
|
||||
DEPENDS QmlDebug qmljs
|
||||
PLUGIN_DEPENDS Core ProjectExplorer QmlJSTools QtSupport ResourceEditor
|
||||
SOURCES
|
||||
qmlpreviewclient.cpp qmlpreviewclient.h
|
||||
qmlpreviewconnectionmanager.cpp qmlpreviewconnectionmanager.h
|
||||
qmlpreviewfileontargetfinder.cpp qmlpreviewfileontargetfinder.h
|
||||
qmlpreviewplugin.cpp qmlpreviewplugin.h
|
||||
qmlpreviewruncontrol.cpp qmlpreviewruncontrol.h
|
||||
qmlpreview_global.h
|
||||
)
|
||||
|
||||
if (WITH_TESTS)
|
||||
target_sources(QmlPreview PRIVATE
|
||||
tests/qmlpreviewclient_test.cpp tests/qmlpreviewclient_test.h
|
||||
tests/qmlpreviewplugin_test.cpp tests/qmlpreviewplugin_test.h
|
||||
)
|
||||
endif()
|
||||
Reference in New Issue
Block a user