aboutsummaryrefslogtreecommitdiff
path: root/nmake.opt
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2016-08-22 23:25:27 +0200
committerKristian Evers <kristianevers@gmail.com>2016-08-22 23:25:27 +0200
commit6a921265db9ff12a263ff1a88118a69a65b7a2df (patch)
treef74f79b400855cd014cd0e91e2a9c0e0c43235a3 /nmake.opt
parente103f3f962e5ddc6c837f4b8b0bcdc437b5f52d1 (diff)
downloadPROJ-6a921265db9ff12a263ff1a88118a69a65b7a2df.tar.gz
PROJ-6a921265db9ff12a263ff1a88118a69a65b7a2df.zip
Changed self-test build behaviour from opt-out to opt-in
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