PLCnext API Documentation 24.0.0.71
BuildConfig.h
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
7
8#ifndef ARP_INSIDE_ARP_H
9 #error Never include 'BuildConfig.h' directly, just include 'Arp.h'
10#endif
11
12#if defined ARP_CXX_COMPILER_MSC
13
14 #ifdef _DEBUG
15 #define ARP_BUILD_CONFIG "Debug"
16 #define ARP_BUILD_DEBUG
17 #else
18 #define ARP_BUILD_CONFIG "Release"
19 #define ARP_BUILD_RELEASE
20 #endif
21
22#elif defined ARP_CXX_COMPILER_GCC
23
24 #ifdef DEBUG
25 #define ARP_BUILD_CONFIG "Debug"
26 #define ARP_BUILD_DEBUG
27 #else
28 #define ARP_BUILD_CONFIG "Release"
29 #define ARP_BUILD_RELEASE
30 #endif
31
32#endif
33
34#ifdef ARP_DOXIFY
35
37
39 #define ARP_BUILD_CONFIG
40
42 #define ARP_BUILD_DEBUG
43
45 #define ARP_BUILD_RELEASE
46
47#endif // ARP_DOXIFY