mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-22 20:38:01 -05:00
13 lines
507 B
Batchfile
13 lines
507 B
Batchfile
REM ******** set the variables ************
|
|
REM call both to ensure that one works
|
|
call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio 9.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\VS2008
|
|
lib CoolProp.obj *.obj /OUT:bin/VS2008/CoolPropLib.lib
|
|
erase *.obj
|