build_nle.bat 363 Bytes
Newer Older
1
2
3
4
@call set_path.bat
@set SRCDIR=../src
@set TARGET=%SRCDIR%/nle.exe

Sergey Kireev's avatar
Sergey Kireev committed
5
@"%CXX_PATH%\g++" -std=c++17 -O3 -march=native -I%SRCDIR% -o %TARGET% %SRCDIR%/main.cpp %SRCDIR%/param.cpp
6

Sergey Kireev's avatar
Sergey Kireev committed
7
8
@if exist %TARGET% ( echo Build done! ) else ( echo Build failed! )

Sergey Kireev's avatar
Sergey Kireev committed
9
@"%GNUPLOT_PATH%\gnuplot" -e ""
Sergey Kireev's avatar
Sergey Kireev committed
10
@if %errorlevel% equ 0 ( echo gnuplot check OK! ) else ( echo gnuplot check failed! )