refs #403 add BlackCore shared library build

This commit is contained in:
Roland Winklmeier
2015-04-10 21:54:55 +02:00
parent d14ecb3db5
commit a13d90ada4
46 changed files with 123 additions and 50 deletions

View 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