Added changes to work with VSCode on windows

This commit is contained in:
Robin Jones 2016-12-13 15:37:40 +00:00
parent fbd29c8bad
commit a43d7b0f77
2 changed files with 15 additions and 11 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
*.VC.db*
*properties.json
/.vs
/.vscode

View File

@ -1,15 +1,18 @@
@echo off
set "SystemPath=%SystemRoot%\\System32"
IF EXIST %WINDIR%\\sysnative\\reg.exe (
set "SystemPath=%SystemRoot%\Sysnative"
echo. "32-bit process..."
)
set env="/usr/local/libdragon"
IF %1.==. GOTO default
IF %1.==. (
echo. "no parameter"
%SystemPath%\\bash --verbose -c "export N64_INST=%env%; make"
) ELSE (
echo. "parameter: %1"
%SystemPath%\\bash --verbose -c "export N64_INST=%env%; make %1"
)
bash --verbose -c "export N64_INST=%env%; make %1"
GOTO end
:default
bash --verbose -c "export N64_INST=%env%; make"
:end
pause
:pause