summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-19 15:25:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-19 15:25:35 (GMT)
commitc5a232b9f953492bfdbce26efb16fa279335a7e5 (patch)
tree6287b83fb2da815ba2a085c6a55fde74e896ca52 /win/rules.vc
parente98db3a11856540e4e8e222fdb2fb6a0d16e8480 (diff)
parent74cd974b89d05dd8159d85d730e6aadaa34b3e27 (diff)
downloadtcl-c5a232b9f953492bfdbce26efb16fa279335a7e5.zip
tcl-c5a232b9f953492bfdbce26efb16fa279335a7e5.tar.gz
tcl-c5a232b9f953492bfdbce26efb16fa279335a7e5.tar.bz2
Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static UCRT build on Windows with VC 14.0
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/rules.vc b/win/rules.vc
index d4c2f35..bc36dc9 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -223,6 +223,7 @@ LOIMPACT = 0
TCL_USE_STATIC_PACKAGES = 0
USE_THREAD_ALLOC = 1
UNCHECKED = 0
+UCRT = 0
!else
!if [nmakehlp -f $(OPTS) "static"]
!message *** Doing static
@@ -302,6 +303,12 @@ UNCHECKED = 1
UNCHECKED = 0
!endif
!endif
+!if [nmakehlp -f $(OPTS) "ucrt"] && $(VCVERSION) >= 1900
+!message *** Doing UCRT
+UCRT = 1
+!else
+UCRT = 0
+!endif
#----------------------------------------------------------
# Figure-out how to name our intermediate and output directories.