An old batch file of mine failed today, and it took me a little while to figure out why.
BUILD-QCAL.BTM rebuilds my QCal plugin. I'll spare you the listing — it's about 150 lines long, and does stuff not relevant here. In short, it calls VSVARS32.BAT to set up the environment for a 32-bit build; calls CL.EXE, RC.EXE, and LINK.EXE to build the 32-bit plugin; then it calls VCVARSALL.BAT to set up the environment for a 64-bit build, and calls CL.EXE, RC.EXE, and LINK.EXE to build the 64-bit...
Read more
BUILD-QCAL.BTM rebuilds my QCal plugin. I'll spare you the listing — it's about 150 lines long, and does stuff not relevant here. In short, it calls VSVARS32.BAT to set up the environment for a 32-bit build; calls CL.EXE, RC.EXE, and LINK.EXE to build the 32-bit plugin; then it calls VCVARSALL.BAT to set up the environment for a 64-bit build, and calls CL.EXE, RC.EXE, and LINK.EXE to build the 64-bit...
Read more