Build Utility Macros

You set the values of all Build utility macros in the Sources files. Some of these macros can also be set in a build environment window or in the Makefile file. For an overview of how these macros are used, see Using Macros and Environment Variables.

The macros that are required in each Sources file are described in the following topics:

SOURCES

TARGETLIBS

TARGETNAME

TARGETPATH

TARGETTYPE

The optional macros that you might want to define in your Sources file or Makefile file are described in the following topics:

_NT_TARGET_VERSION

_NTTREE

386_OPTIMIZATION

386_WARNING_LEVEL

AMD64_OPTIMIZATION

AMD64_SOURCES

AMD64_WARNING_LEVEL

ATL_INC_PATH

ATL_VER

BINPLACE_FLAGS

BINPLACE_PLACEFILE

BUILD_CONSUMES

BUILD_PASS0_CONSUMES

BUILD_PASS0_PRODUCES

BUILD_PASS2_CONSUMES

BUILD_PASS2_PRODUCES

BUILD_PRODUCES

C_DEFINES

COFFBASE

COFFBASE_TXT_FILE

COMPILER_WARNINGS

CRT_INC_PATH

CRT_LIB_PATH

DBGSDK_INC_PATH

DBGSDK_LIB_PATH

DDK_BLOCK_ON_AMD64

DDK_BLOCK_ON_IA64

DDK_BLOCK_ON_X86

DDK_INC_PATH

DDK_LIB_DEST

DDK_LIB_PATH

DEBUG_CRTS

DIRS

DLLBASE

DLLDEF

DLLENTRY

DLLLIBOBJECTS

DLLORDER

DRIVERBASE

DRIVERTYPE

EXEPROFILEINPUT

HALBASE

HALKIT_INC_PATH

HALKIT_LIB_PATH

I386_SOURCES

IA64_OPTIMIZATION

IA64_SOURCES

IA64_WARNING_LEVEL

IDL_RULES

IDL_TYPE

IFSKIT_INC_PATH

IFSKIT_LIB_DEST

IFSKIT_LIB_PATH

INCLUDES

LANGUAGE

LINKER_FLAGS

LINKER_NOREF

LINKLIBS

MAKEDLL

MASTER_VERSION_FILE

MAXIMUM_NT_TARGET_VERSION

MC_FLAGS

MC_SOURCEDIR

MFC_FLAGS

MFC_INC_PATH

MFC_INCLUDES

MFC_LIB_PATH

MFC_LIBS

MFC_VER

MIDL_OPTIMIZATION

MIDL_UUIDDIR

MINIMUM_NT_TARGET_VERSION

MISCFILES

MSC_OPTIMIZATION

MSC_WARNING_LEVEL

NOLINK

NO_NTDLL

NOT_LEAN_AND_MEAN

NTCPPFLAGS

NTDDI_VERSION

NTDEBUGTYPE

NTNOPCH

NTPROFILEINPUT

NTTARGETFILE0

NTTARGETFILE1

NTTARGETFILE2

NTTARGETFILES

OAK_INC_PATH

OBJ_PATH

OBJECT_ROOT

OPTIONAL_DIRS

PASS0_BINPLACE

PASS0_CLIENTDIR

PASS0_HEADERDIR

PASS0_SERVERDIR

PASS0_SOURCEDIR

PASS1_BINPLACE

PASS2_BINPLACE

PRECOMPILED_CXX

PRECOMPILED_INCLUDE

PRECOMPILED_OBJ

PRECOMPILED_TARGET

RC_COMPILER

RC_DEFINES

RCCODEPAGE

RCOPTIONS

SDK_INC_PATH

SDK_LIB_DEST

SDK_LIB_PATH

SOURCES_USED

STL_VER

SYNCHRONIZE_BLOCK

SYNCHRONIZE_DRAIN

SYNCHRONIZE_PASS0_BLOCK

SYNCHRONIZE_PASS0_DRAIN

SYNCHRONIZE_PASS2_BLOCK

SYNCHRONIZE_PASS2_DRAIN

TARGET_DESTINATION

TARGET_DIRECTORY

TARGETEXT

TARGETPATHLIB

UMAPPL

UMAPPLEXT

UMBASE

UMENTRY

UMENTRYABS

UMLIBS

UMTEST

UMTYPE

USE_ATL

USE_CRTDLL

USE_INCREMENTAL_LINKING

USE_IOSTREAM

USE_LIBCMT

USE_LIBCNTPR

USE_MAPSYM

USE_MFC

USE_MFCUNICODE

USE_MSVCRT

USE_NATIVE_EH

USE_NOLIBS

USE_NTDLL

USE_PDB

USE_RTTI

USE_STATIC_ATL

USE_STL

USE_VCCOM

USECXX_FLAG

USER_C_FLAGS

USER_INCLUDES

WDM_INC_PATH

WIN32_WINNT_VERSION

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011

Show: