aboutsummaryrefslogtreecommitdiff
path: root/nmake.opt
diff options
context:
space:
mode:
Diffstat (limited to 'nmake.opt')
-rw-r--r--nmake.opt8
1 files changed, 6 insertions, 2 deletions
diff --git a/nmake.opt b/nmake.opt
index 79637ea4..2291fad8 100644
--- a/nmake.opt
+++ b/nmake.opt
@@ -22,12 +22,16 @@ PROJ_LIB_DIR=$(INSTDIR)\SHARE
# Uncomment the first for an optimized build, or the second for debug.
!IFNDEF OPTFLAGS
!IFNDEF DEBUG
-OPTFLAGS= /nologo /Ox /Op /MD
+OPTFLAGS= /Ox /Op /MD
!ELSE
-OPTFLAGS= /nologo /Zi /MD /Fdproj.pdb
+OPTFLAGS= /Zi /MD /Fdproj.pdb
!ENDIF
!ENDIF
+!IFDEF SELFTEST
+OPTFLAGS= $(OPTFLAGS) -DPJ_SELFTEST
+!ENDIF
+
# Uncomment the first for linking exes against DLL or second for static
EXE_PROJ = proj_i.lib
#EXE_PROJ = proj.lib