uLib
User mode C/C++ extended API library for Win32 programmers.
BldInfo.h
Go to the documentation of this file.
1
//
2
// uLib - Build info feedback.
3
//
4
// Sorry, but no matter how I try, I can't stop this from
5
// outputting multiple times during a uLib compilation.
6
//
7
#ifndef __BldInfo_h_incl__
8
#define __BldInfo_h_incl__
9
#pragma once
10
13
14
#ifdef _MSC_VER
15
#define BLD_INFO(str) __pragma( message( str ))
16
#else
17
#define BLD_INFO(str)
18
#endif
19
20
#if defined(_WIN64)
21
#pragma message("[uLib] BITNESS: This is a 64 bit build.")
22
#else
23
#pragma message("[uLib] BITNESS: This is a 32 bit build.")
24
#endif
25
26
#if defined(UNICODE) || defined(_UNICODE)
27
#pragma message("[uLib] CHARSET: This is a UNICODE build.")
28
#if !defined(_UNICODE)
29
#define _UNICODE 1
30
#elif !defined(UNICODE)
31
#define UNICODE 1
32
#endif
33
#elif defined(_MBCS)
34
#pragma message("[uLib] CHARSET: This is a MULTIBYTE build.")
35
#else
36
#pragma message("[uLib] CHARSET: This is an ANSI build.")
37
#endif
38
39
#if defined(_DEBUG)
40
#pragma message("[uLib] This is a _DEBUG build.")
41
#else
42
#pragma message("[uLib] This is an NDEBUG build.")
43
#endif
44
45
#endif//ndef __BldInfo_h_incl__
46
// EOF
BldInfo.h
Generated by
1.8.15