diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-08-06 00:20:59 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-08-06 00:20:59 -0400 |
commit | df18c5b74512af98c16a2b1b4d6a39e8d6dec96f (patch) | |
tree | 9f53d2abf723882b9a6e75f1b4f72adb83ba1bc1 /cryptest.nmake | |
parent | 41864fd49e5397688e11e989a9e33f0846715e79 (diff) | |
download | cryptopp-git-df18c5b74512af98c16a2b1b4d6a39e8d6dec96f.tar.gz |
Add Debug and Release linker flags
Diffstat (limited to 'cryptest.nmake')
-rw-r--r-- | cryptest.nmake | 10 |
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 ?
|