summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2008-06-13 05:46:08 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2008-06-13 05:46:08 (GMT)
commitee10365fe5ddffde317320b6ac35d36b86b21dc4 (patch)
tree53dd4c32ceb799030ada10f68625bfe0e4c015e0 /win/makefile.vc
parentf12c70da2d6208293f2afb3d2181b40adb47ec67 (diff)
downloadtk-ee10365fe5ddffde317320b6ac35d36b86b21dc4.zip
tk-ee10365fe5ddffde317320b6ac35d36b86b21dc4.tar.gz
tk-ee10365fe5ddffde317320b6ac35d36b86b21dc4.tar.bz2
TIP 285 Implementation
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index b8a790e..9c1509e 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -13,7 +13,7 @@
# Copyright (c) 2003-2008 Pat Thoyts.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.122 2008/05/15 00:06:19 patthoyts Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.123 2008/06/13 05:46:09 mistachkin Exp $
#------------------------------------------------------------------------------
# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR)
@@ -437,6 +437,9 @@ cdebug = $(OPTIMIZATIONS)
!else
cdebug =
!endif
+!if $(SYMBOLS)
+cdebug = $(cdebug) -Zi
+!endif
!else if "$(MACHINE)" == "IA64" || "$(MACHINE)" == "AMD64"
### Warnings are too many, can't support warnings into errors.
cdebug = -Zi -Od $(DEBUGFLAGS)
@@ -480,6 +483,9 @@ TK_CFLAGS = $(TK_CFLAGS) -DUSE_TCL_STUBS
ldebug = -debug:full -debugtype:cv
!else
ldebug = -release -opt:ref -opt:icf,3
+!if $(SYMBOLS)
+ldebug = $(ldebug) -debug:full -debugtype:cv
+!endif
!endif
### Declarations common to all linker options