mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-14 16:38:00 -05:00
13 lines
509 B
Batchfile
13 lines
509 B
Batchfile
REM ******** set the variables ************
|
|
REM call both to ensure that one works
|
|
call "C:\Program Files\Microsoft Visual Studio 11.0\VC\vcvarsall.bat"
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat"
|
|
|
|
REM ******* compile all the sources from CoolProp ***************
|
|
cl /c /Ox /MP3 /fp:fast /I../../CoolProp /MD /EHsc ../../CoolProp/*.cpp
|
|
cl /c /Ox /fp:fast /I../../CoolProp /MD /EHsc src/*.cpp
|
|
|
|
mkdir bin\VS2012
|
|
lib CoolProp.obj *.obj /OUT:bin/VS2012/CoolPropLib.lib
|
|
erase *.obj
|