mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Convert static common simulator plugins to shared ones
Test Plan: - Check that the new shared libraries are packaged in all platform installers. - check that plugins are loaded properly on all platforms. Reviewers: #swift_pilot_client, msutcliffe Reviewed By: #swift_pilot_client, msutcliffe Maniphest Tasks: T471 Differential Revision: https://dev.swift-project.org/D79
This commit is contained in:
committed by
Mat Sutcliffe
parent
0970dbdcfc
commit
d639187f91
32
src/plugins/simulator/fsxcommon/fsxcommonexport.h
Normal file
32
src/plugins/simulator/fsxcommon/fsxcommonexport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/* Copyright (C) 2018
|
||||
* swift project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKSIMPLUGIN_FSXCOMMON_SIMULATORFSXCOMMON_MACROS_H
|
||||
#define BLACKSIMPLUGIN_FSXCOMMON_SIMULATORFSXCOMMON_MACROS_H
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
/*!
|
||||
* \def FSXCOMMON_EXPORT
|
||||
* FSXCommon Export Macro
|
||||
*/
|
||||
|
||||
#ifndef WITH_STATIC
|
||||
# if defined(BUILD_FSXCOMMON_LIB)
|
||||
# define FSXCOMMON_EXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
# define FSXCOMMON_EXPORT Q_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define FSXCOMMON_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user