Skip to content
Snippets Groups Projects
Commit ce0000b9 authored by Boman Romain's avatar Boman Romain
Browse files

update env for visual studio

parent bee73258
No related branches found
No related tags found
1 merge request!50Feature eigen
Pipeline #537 passed
@echo off
:: Ligne de commande qui va bien pour compiler mes brols
::
:: Utilisation:
:: - installer les libs (dans c:\local p. expl.)
:: - definir la variable d'env MYLOCAL (=c:\local p. expl. )
:: - double cliquer sur myenv.bat
:: - cd ..\wavesB
:: - cmake -G "Visual Studio 14 2015 Win64" -DWAVES_USE_TLNOS=OFF ..\waves
:: ou (tbox seul):
:: - cmake -G "Visual Studio 14 2015 Win64" -DWAVES_USE_TLNOS=OFF -DWAVES_USE_WAVES=OFF -DWAVES_USE_HEAT=OFF -DWAVES_USE_MIRRORS=OFF ..\waves
:: - cmake --build . --config Release -- -j6
:: - ctest -C Release
:: Incredibuild (http://www.incredibuild.com/webhelp/#BuildConsole.html)
:: - BuildConsole Waves.sln /rebuild /cfg="Release|x64"
:: command line for MSVC build (Visual Studio 2015)
set PATH=%PATH%;%MYLOCAL%\swigwin-3.0.12
set INCLUDE=%MYLOCAL%\include;%MYLOCAL%\MUMPS\include;%MYLOCAL%\eigen-3.3.2
set PATH=%PATH%;%MYLOCAL%\swigwin
set INCLUDE=%MYLOCAL%\include;%MYLOCAL%\MUMPS\include;%MYLOCAL%\eigen
set LIB=%MYLOCAL%\MUMPS\lib
:: ok (MKL + VS en ligne de commande)
call "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl\bin\mklvars.bat" intel64 vs2015
call "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\tbb\bin\tbbvars.bat" intel64 vs2015
%comspec% /K ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64"
@echo off
:: command line for MSVC build (Visual Studio 2017)
set PATH=%PATH%;%MYLOCAL%\swig
set INCLUDE=%MYLOCAL%\include;%MYLOCAL%\MUMPS\include;%MYLOCAL%\eigen
set LIB=%MYLOCAL%\MUMPS\lib
call "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl\bin\mklvars.bat" intel64 vs2017
call "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\tbb\bin\tbbvars.bat" intel64 vs2017
%comspec% /K ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" amd64"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment