Hi,
I wrote code to .dsc as below:
[BuildOptions]
MSFT:*_*_*_CC_FLAGS = /D DEBUG1
MSFT:*_*_*_CC_FLAGS = /D DEBUG2
MSFT:*_*_*_CC_FLAGS = /D DEBUG3
The output makefile shows that build.exe (or something else in BaseTools)
emits DEBUG3 only.
CC_FLAGS = /nologo /FAcs /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2
/GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /D DEBUG3
Invoking build.exe with '-D S2' to the following code will certainly not
generate DEBUG2 too.
[BuildOptions]
MSFT:*_*_*_CC_FLAGS = /D DEBUG1
!ifdef $(S2)
MSFT:*_*_*_CC_FLAGS = /D DEBUG2
!endif
MSFT:*_*_*_CC_FLAGS = /D DEBUG3
Any advice?
BR,
Mike
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel