mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
refs #403 add BlackCore shared library build
This commit is contained in:
27
src/blackcore/blackcoreexport.h
Normal file
27
src/blackcore/blackcoreexport.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/* Copyright (C) 2015
|
||||
* 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 BLACKCORE_MACROS_H
|
||||
#define BLACKCORE_MACROS_H
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
#ifndef WITH_STATIC
|
||||
# if defined(BUILD_BLACKCORE_LIB)
|
||||
# define BLACKCORE_EXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
# define BLACKCORE_EXPORT Q_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define BLACKCORE_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // BLACKCORE_MACROS_H
|
||||
Reference in New Issue
Block a user