mirror of
https://github.com/jamriska/ebsynth.git
synced 2026-04-03 09:46:39 +02:00
initial commit
This commit is contained in:
12
build-win64.bat
Normal file
12
build-win64.bat
Normal file
@@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
setlocal ENABLEDELAYEDEXPANSION
|
||||
|
||||
for %%V in (15,14,12,11) do if exist "!VS%%V0COMNTOOLS!" call "!VS%%V0COMNTOOLS!..\..\VC\vcvarsall.bat" amd64 && goto compile
|
||||
|
||||
:compile
|
||||
nvcc -arch compute_30 src\ebsynth.cu -m64 -O6 -w -I "include" -o "bin\ebsynth.exe" -Xcompiler "/DNDEBUG /Ox /Oy /Gy /Oi /fp:fast" -Xlinker "/IMPLIB:\"lib\ebsynth.lib\"" || goto error
|
||||
goto :EOF
|
||||
|
||||
:error
|
||||
echo FAILED
|
||||
@%COMSPEC% /C exit 1 >nul
|
||||
Reference in New Issue
Block a user