Re: [AD] MSVC 8 target

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I've just tried the MSVC 2005 Express Beta 2 and everything went OK, except that it looks, that vcvars32.bat no more set MSVCDir var, so fix.bat's --msvcpath option does not work. So I created this small fix.bat patch (required ML patch to be applied first).

--
Regards,
    Michal

ICQ# 175762750
--- fix.bat.old	Tue Aug 23 17:58:25 2005
+++ fix.bat	Tue Aug 23 18:39:48 2005
@@ -131,8 +131,11 @@
 :convertmsvcdir
 echo Converting MSVCDir path...
 gcc -s -o msvchelp.exe misc/msvchelp.c
-msvchelp MSVCDir
+set varname=MSVCDir
+if [%1] == [msvc8] set varname=VCINSTALLDIR
+msvchelp %varname%
 del msvchelp.exe
+if [%1] == [msvc8] echo MSVCDir=$(VCINSTALLDIR)>> makefile.helper
 echo include makefile.helper >> makefile
 goto realtail
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/