aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmake_global.h
blob: 739182c99240880c1387ec4775be00703cd8c14a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 Canonical 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(CMAKEPROJECTMANAGER_LIBRARY)
#  define CMAKE_EXPORT Q_DECL_EXPORT
#elif defined(CMAKEPROJECTMANAGER_STATIC_LIBRARY)
#  define CMAKE_EXPORT
#else
#  define CMAKE_EXPORT Q_DECL_IMPORT
#endif