PLCnext API Documentation 25.0.2.69
BuildConfig.h
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
7
8#ifndef ARP_USE_ARP_SYSTEM_CORE
9
10 // nothing to include here, included by Arp.hpp
11
12#else
13
14 #ifndef ARP_INSIDE_ARP_H
15 #error Never include 'BuildConfig.h' directly, just include 'Arp.h'
16 #endif
17
18 #if defined ARP_CXX_COMPILER_MSC
19
20 #ifdef _DEBUG
21 #define ARP_BUILD_CONFIG "Debug"
22 #define ARP_BUILD_DEBUG
23 #else
24 #define ARP_BUILD_CONFIG "Release"
25 #define ARP_BUILD_RELEASE
26 #endif
27
28 #elif defined ARP_CXX_COMPILER_GCC
29
30 #ifdef DEBUG
31 #define ARP_BUILD_CONFIG "Debug"
32 #define ARP_BUILD_DEBUG
33 #else
34 #define ARP_BUILD_CONFIG "Release"
35 #define ARP_BUILD_RELEASE
36 #endif
37
38 #endif
39
40 #ifdef ARP_DOXIFY
41
43
45 #define ARP_BUILD_CONFIG
46
48 #define ARP_BUILD_DEBUG
49
51 #define ARP_BUILD_RELEASE
52
53 #endif // ARP_DOXIFY
54
55#endif // ndef ARP_USE_ARP_SYSTEM_CORE