summaryrefslogtreecommitdiff
path: root/cryptest.nmake
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-08-06 00:20:59 -0400
committerJeffrey Walton <noloader@gmail.com>2019-08-06 00:20:59 -0400
commitdf18c5b74512af98c16a2b1b4d6a39e8d6dec96f (patch)
tree9f53d2abf723882b9a6e75f1b4f72adb83ba1bc1 /cryptest.nmake
parent41864fd49e5397688e11e989a9e33f0846715e79 (diff)
downloadcryptopp-git-df18c5b74512af98c16a2b1b4d6a39e8d6dec96f.tar.gz
Add Debug and Release linker flags
Diffstat (limited to 'cryptest.nmake')
-rw-r--r--cryptest.nmake10
1 files changed, 6 insertions, 4 deletions
diff --git a/cryptest.nmake b/cryptest.nmake
index 1919122e..484736f6 100644
--- a/cryptest.nmake
+++ b/cryptest.nmake
@@ -153,12 +153,14 @@ LDFLAGS = /nologo /SUBSYSTEM:CONSOLE /DEBUG
ARFLAGS = /nologo
LDLIBS =
-# Debug build.
+# Compiler debug build.
# CXXFLAGS = $(CXXFLAGS) /DDEBUG /D_DEBUG /Oi /Oy- /Od /MTd
-# Release build. Add /OPT:REF to linker
+# Compiler release build.
CXXFLAGS = $(CXXFLAGS) /DNDEBUG /D_NDEBUG /Oi /Oy /O2 /MT
-# Linker flags.
-LDFLAGS = $(LDFLAGS) /OPT:REF
+# Linker debug build.
+# LDFLAGS = $(LDFLAGS) /DEBUG
+# Linker release build.
+LDFLAGS = $(LDFLAGS) /DEBUG /OPT:REF
# Attempt to detect when <sdkddkver.h> and <winapifamily.h> are available
# http://stackoverflow.com/q/40577415 ?