Browse Source

Added changes to work with VSCode on windows

master
Robin Jones 6 years ago
parent
commit
a43d7b0f77
  1. 1
      .gitignore
  2. 25
      build.cmd

1
.gitignore vendored

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

25
build.cmd

@ -1,15 +1,18 @@ @@ -1,15 +1,18 @@
@echo off
set env="/usr/local/libdragon"
IF %1.==. GOTO default
bash --verbose -c "export N64_INST=%env%; make %1"
set "SystemPath=%SystemRoot%\\System32"
IF EXIST %WINDIR%\\sysnative\\reg.exe (
set "SystemPath=%SystemRoot%\Sysnative"
echo. "32-bit process..."
)
GOTO end
:default
bash --verbose -c "export N64_INST=%env%; make"
set env="/usr/local/libdragon"
:end
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"
)
pause
:pause
Loading…
Cancel
Save