Commit 07c4b2b5 authored by Sergey Kireev's avatar Sergey Kireev
Browse files

windows scripts fixed

parent b3771653
......@@ -2,6 +2,9 @@
@set SRCDIR=../src
@set TARGET=%SRCDIR%/nle.exe
@g++ -std=c++17 -O3 -march=native -I%SRCDIR% -o %TARGET% %SRCDIR%/main.cpp %SRCDIR%/param.cpp
@%CXX_PATH%\g++ -std=c++17 -O3 -march=native -I%SRCDIR% -o %TARGET% %SRCDIR%/main.cpp %SRCDIR%/param.cpp
@if exist %TARGET% ( echo Done! ) else ( echo Failed! )
@if exist %TARGET% ( echo Build done! ) else ( echo Build failed! )
@%GNUPLOT_PATH%\gnuplot.exe -e ""
@if %errorlevel% equ 0 ( echo gnuplot check OK! ) else ( echo gnuplot check failed! )
......@@ -20,11 +20,11 @@ set nx=300
set ny=300
rem Number of simulation steps
set nt=10000
set nt=1000
rem Steps between saving to file
set nts=100
rem Steps between printing output
set ntp=1000
set ntp=100
rem Model parameters
set en=3.4
......
@PATH=%PATH%;C:\mingw64\bin;C:\Program Files\gnuplot\bin
rem Please, set proper paths here.
rem Path to g++.exe
@set CXX_PATH="C:\mingw64\bin"
rem Path to gnuplot.exe
@set GNUPLOT_PATH="C:\Program Files\gnuplot\bin"
@PATH=%PATH%;%CXX_PATH%;%GNUPLOT_PATH%
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment