Patrice,
Attached is the batch file I use for Visual Studio 2013 Community. It also includes a batch file for compiling mfc too.
VS12.BAT Hard coded for /MT
It will also compile and add a resource file with the same base name as the cpp file.
Format:
VS12.BAT FileNameNoExtension -m32|-m64 con|gui|dll|obj [debug|release] defaults to release
James
Thanks,
Couldn't get it to work as i am using different version of Visual Studio.
...
Patrice,
Try this.
From a normal command prompt type SET
You should have a VSxxxCOMNTOOLS where xxx is the version you are using.
Find:
CALL "%VS120COMNTOOLS%..\..\VC\vcvarsall.bat" %XTYPE%
in the batch file and replace VS120COMNTOOLS with yours
also rem out or delete the next two lines:
SET INCLUDE=C:\VS1264\boost_1_55_0;%INCLUDE%
SET LIB=C:\VS1264\boost_1_55_0\lib64-msvc-12.0;%LIB%
James