comparison auto/cc/msvc @ 1636:f2cf053d14fb

enable precompiled headers for msvc7, probably they were disabled because of some Wine bug
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Nov 2007 10:25:30 +0000
parents 7cbef16c71a1
children c70756577bf7
comparison
equal deleted inserted replaced
1635:481fe1bc191b 1636:f2cf053d14fb
94 CFLAGS="$CFLAGS -Yd" 94 CFLAGS="$CFLAGS -Yd"
95 CORE_LINK="$CORE_LINK -debug -debugtype:coff" 95 CORE_LINK="$CORE_LINK -debug -debugtype:coff"
96 96
97 97
98 # precompiled headers 98 # precompiled headers
99 if [ $NGX_CC_NAME != msvc7 ]; then 99 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"
100 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch" 100 NGX_PCH="$NGX_OBJS/ngx_config.pch"
101 NGX_PCH="$NGX_OBJS/ngx_config.pch" 101 NGX_BUILD_PCH="-Ycngx_config.h -Fp$NGX_OBJS/ngx_config.pch"
102 NGX_BUILD_PCH="-Ycngx_config.h -Fp$NGX_OBJS/ngx_config.pch" 102 NGX_USE_PCH="-Yungx_config.h -Fp$NGX_OBJS/ngx_config.pch"
103 NGX_USE_PCH="-Yungx_config.h -Fp$NGX_OBJS/ngx_config.pch"
104 fi
105 103
106 104
107 # the resource file 105 # the resource file
108 NGX_RES="$NGX_OBJS/nginx.res" 106 NGX_RES="$NGX_OBJS/nginx.res"
109 NGX_RCC="rc -fo$NGX_RES \$(CORE_INCS) $NGX_WIN32_RC" 107 NGX_RCC="rc -fo$NGX_RES \$(CORE_INCS) $NGX_WIN32_RC"