forked from qt-creator/qt-creator
CMake: Qt Creator Static build support
This adds the build system feature that allows Qt Creator's libraries and plugins to be compiled statically. Fixes some symbol clashes when all plugins are linked into the same executable. Support for actually loading static plugins will be added in a separate commit. The feature is controlled by QTC_STATIC_BUILD which by default is OFF. Change-Id: I1fab7953c43e42dc75619e35660029ee067106df Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
#if defined(QMLJSTOOLS_LIBRARY)
|
||||
# define QMLJSTOOLS_EXPORT Q_DECL_EXPORT
|
||||
#elif defined(QMLJSTOOLS_STATIC)
|
||||
#elif defined(QMLJSTOOLS_STATIC_LIBRARY)
|
||||
# define QMLJSTOOLS_EXPORT
|
||||
#else
|
||||
# define QMLJSTOOLS_EXPORT Q_DECL_IMPORT
|
||||
|
||||
Reference in New Issue
Block a user