aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debugger_global.h
blob: d5f94d59e12df772da9eb8e0c71a1e744b75712f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <QtGlobal>

#if defined(DEBUGGER_LIBRARY)
#  define DEBUGGER_EXPORT Q_DECL_EXPORT
#elif defined(DEBUGGER_STATIC_LIBRARY) // Abuse single files for tests
#  define DEBUGGER_EXPORT
#else
#  define DEBUGGER_EXPORT Q_DECL_IMPORT
#endif