forked from qt-creator/qt-creator
CMake build: Add public include for QmlDesigner plugins
QmlDesigner plugins need this include path, no need to repeat that over and over again. It also makes it easier to support out-of-repository plugins. Task-number: QTCREATORBUG-23778 Change-Id: I33e959fe56815e59a5e8e0db0bbdff016411b067 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -5,7 +5,7 @@ add_qtc_plugin(QmlDesigner
|
|||||||
DEFINES
|
DEFINES
|
||||||
DESIGNER_CORE_LIBRARY
|
DESIGNER_CORE_LIBRARY
|
||||||
IDE_LIBRARY_BASENAME=\"${IDE_LIBRARY_BASE_PATH}\"
|
IDE_LIBRARY_BASENAME=\"${IDE_LIBRARY_BASE_PATH}\"
|
||||||
INCLUDES
|
PUBLIC_INCLUDES
|
||||||
${CMAKE_CURRENT_LIST_DIR}/designercore/include
|
${CMAKE_CURRENT_LIST_DIR}/designercore/include
|
||||||
PLUGIN_DEPENDS
|
PLUGIN_DEPENDS
|
||||||
Core ProjectExplorer QmlJSEditor QmakeProjectManager QmlProjectManager
|
Core ProjectExplorer QmlJSEditor QmakeProjectManager QmlProjectManager
|
||||||
@@ -41,7 +41,6 @@ add_qtc_plugin(componentsplugin
|
|||||||
CONDITION TARGET QmlDesigner
|
CONDITION TARGET QmlDesigner
|
||||||
DEPENDS Core QmlDesigner Utils Qt5::Qml
|
DEPENDS Core QmlDesigner Utils Qt5::Qml
|
||||||
DEFINES COMPONENTS_LIBRARY
|
DEFINES COMPONENTS_LIBRARY
|
||||||
INCLUDES ${CMAKE_CURRENT_LIST_DIR}/designercore/include
|
|
||||||
SOURCES
|
SOURCES
|
||||||
componentsplugin/addtabdesigneraction.cpp componentsplugin/addtabdesigneraction.h
|
componentsplugin/addtabdesigneraction.cpp componentsplugin/addtabdesigneraction.h
|
||||||
componentsplugin/addtabtotabviewdialog.cpp componentsplugin/addtabtotabviewdialog.h
|
componentsplugin/addtabtotabviewdialog.cpp componentsplugin/addtabtotabviewdialog.h
|
||||||
@@ -57,7 +56,6 @@ add_qtc_plugin(componentsplugin
|
|||||||
add_qtc_plugin(qmlpreviewplugin
|
add_qtc_plugin(qmlpreviewplugin
|
||||||
CONDITION TARGET QmlDesigner
|
CONDITION TARGET QmlDesigner
|
||||||
DEPENDS Core ProjectExplorer QmlDesigner Utils Qt5::Qml
|
DEPENDS Core ProjectExplorer QmlDesigner Utils Qt5::Qml
|
||||||
INCLUDES ${CMAKE_CURRENT_LIST_DIR}/designercore/include
|
|
||||||
SOURCES
|
SOURCES
|
||||||
qmlpreviewplugin/qmlpreviewactions.cpp qmlpreviewplugin/qmlpreviewactions.h
|
qmlpreviewplugin/qmlpreviewactions.cpp qmlpreviewplugin/qmlpreviewactions.h
|
||||||
qmlpreviewplugin/qmlpreviewplugin.cpp qmlpreviewplugin/qmlpreviewplugin.h
|
qmlpreviewplugin/qmlpreviewplugin.cpp qmlpreviewplugin/qmlpreviewplugin.h
|
||||||
@@ -70,7 +68,6 @@ add_qtc_plugin(qtquickplugin
|
|||||||
CONDITION TARGET QmlDesigner
|
CONDITION TARGET QmlDesigner
|
||||||
DEPENDS Core QmlDesigner Utils Qt5::Qml
|
DEPENDS Core QmlDesigner Utils Qt5::Qml
|
||||||
DEFINES QTQUICK_LIBRARY
|
DEFINES QTQUICK_LIBRARY
|
||||||
INCLUDES ${CMAKE_CURRENT_LIST_DIR}/designercore/include
|
|
||||||
SOURCES
|
SOURCES
|
||||||
qtquickplugin/qtquickplugin.cpp qtquickplugin/qtquickplugin.h
|
qtquickplugin/qtquickplugin.cpp qtquickplugin/qtquickplugin.h
|
||||||
qtquickplugin/qtquickplugin.qrc
|
qtquickplugin/qtquickplugin.qrc
|
||||||
|
Reference in New Issue
Block a user