1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[win32] Moved MSC_VER to verconf.mk and reduce running CPP

This commit is contained in:
Nobuyoshi Nakada 2020-04-08 11:53:14 +09:00
parent 8c8e64a295
commit 5ac4bf2cd8
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -132,9 +132,6 @@ int main(void) {return (EnumProcesses(NULL,0,NULL) ? 0 : 1);}
<<
-version-: nul verconf.mk
@$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(MAKEFILE)" | findstr "=" >>$(MAKEFILE)
MSC_VER = _MSC_VER
<<
verconf.mk: nul
@$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(@)" > $(*F).bat && cmd /c $(*F).bat > $(@)
@ -152,6 +149,7 @@ echo TEENY = RUBY_VERSION_TEENY
#if defined RUBY_PATCHLEVEL && RUBY_PATCHLEVEL < 0
echo RUBY_DEVEL = yes
#endif
echo MSC_VER = _MSC_VER
del %0 & exit
<<