PLCnext API Documentation 25.0.2.69
BuildConfig.hpp
Go to the documentation of this file.
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
7
8#ifndef ARP_INSIDE_ARP_BASE_CORE_ARP_H
9 #error Never include 'BuildConfig.hpp' directly, just include 'Arp.hpp'
10#endif
11
14
15#if defined ARP_CXX_COMPILER_MSC
16
17 #ifdef _DEBUG
18 #define ARP_BUILD_CONFIG "Debug"
19 #define ARP_BUILD_DEBUG
20 #else
21 #define ARP_BUILD_CONFIG "Release"
22 #define ARP_BUILD_RELEASE
23 #endif
24
25#elif defined ARP_CXX_COMPILER_GCC
26
27 #ifdef DEBUG
28 #define ARP_BUILD_CONFIG "Debug"
29 #define ARP_BUILD_DEBUG
30 #else
31 #define ARP_BUILD_CONFIG "Release"
32 #define ARP_BUILD_RELEASE
33 #endif
34
35#endif