summaryrefslogtreecommitdiff
path: root/cpp/include/IceBox/Config.h
blob: f71cd667ed48500404f2507ea156fbd22b6c9477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

#ifndef ICE_BOX_CONFIG_H
#define ICE_BOX_CONFIG_H

//
// Automatically link with IceBox[D].lib
//

#if !defined(ICE_BUILDING_ICE_BOX) && defined(ICE_BOX_API_EXPORTS)
#   define ICE_BUILDING_ICE_BOX
#endif

#ifdef _MSC_VER
#   if !defined(ICE_BUILDING_ICE_BOX)
#      if defined(_DEBUG) && !defined(ICE_OS_WINRT)
#          pragma comment(lib, "IceBoxD.lib")
#      else
#          pragma comment(lib, "IceBox.lib")
#      endif
#   endif
#endif

#endif