Logo
Explore Help
Sign In
feedc0de/qt-creator
1
0
Fork 0
You've already forked qt-creator
forked from qt-creator/qt-creator
Code Pull Requests Activity
Files
bcdf7d71b6e23c17f3a9963264c6025b8747fa93
qt-creator/cmake/Config.cmake.in

6 lines
127 B
CMake
Raw Normal View History

cmake build: Add option for exporting plugins That can be used for external plugins. Just add the option "EXPORT" to your "add_qtc_plugin(MyPlugin ...." call. Other plugins can then do "find_package(QtCreatorMyPlugin)" and link against "QtCreator::MyPlugin". Supports both using a Devel install or using a build directory of the plugin that is depended on. Task-number: QTCREATORBUG-22803 Change-Id: I80724eca8c828d2d5be307d32f3125c4e3bd8b3a Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-10-22 13:19:12 +02:00
@PACKAGE_INIT@
if (NOT TARGET QtCreator::@target_name@)
include ("${CMAKE_CURRENT_LIST_DIR}/@export@Targets.cmake")
endif()
Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 80ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API