FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/lpython.cmd at main · AlHeloween/lpython · GitHub
AlHeloween
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
lpython.cmd
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (17 loc) · 1.33 KB
Breadcrumbs
lpython
/
lpython.cmd
Copy path
File metadata and controls
21 lines (17 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@
echo
off
set
"
LPYTHON_BIN_DIR
=
%~dp0
"
set
"
LPYTHON_REAL
=
%LPYTHON_BIN_DIR%
lpython-real.exe
"
if
not
exist
"
%LPYTHON_REAL%
"
set
"
LPYTHON_REAL
=
%LPYTHON_BIN_DIR%
lpython.exe
"
if
not
exist
"
%LPYTHON_REAL%
"
set
"
LPYTHON_REAL
=
%LPYTHON_BIN_DIR%
src\bin\lpython.exe
"
if
not
defined
LPYTHON_SKIP_VSENV
if
not
defined
VSCMD_VER
set
"
VSDEVCMD
=
C:\Program Files\Microsoft Visual Studio\18\Community\Common7\Tools\VsDevCmd.bat
"
if
defined
VSDEVCMD
if
not
exist
"
%VSDEVCMD%
"
set
"
VSDEVCMD
=
"
if
not
defined
LPYTHON_SKIP_VSENV
if
not
defined
VSCMD_VER
if
not
defined
VSDEVCMD
set
"
VSWHERE
=
%ProgramFiles(x86)%
\Microsoft Visual Studio\Installer\vswhere.exe
"
if
not
defined
LPYTHON_SKIP_VSENV
if
not
defined
VSCMD_VER
if
not
defined
VSDEVCMD
if
not
exist
"
%VSWHERE%
"
set
"
VSWHERE
=
%ProgramFiles%
\Microsoft Visual Studio\Installer\vswhere.exe
"
if
not
defined
LPYTHON_SKIP_VSENV
if
not
defined
VSCMD_VER
if
not
defined
VSDEVCMD
if
exist
"
%VSWHERE%
"
for
/f
"
usebackq delims=
"
%%I
in
(`
"
%VSWHERE%
"
-latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -find Common7\Tools\VsDevCmd.bat`)
do
set
"
VSDEVCMD
=
%%I
"
if
not
defined
LPYTHON_SKIP_VSENV
if
not
defined
VSCMD_VER
if
defined
VSDEVCMD
call
"
%VSDEVCMD%
"
-arch=x64
>
nul
2
>
nul
if
not
exist
"
%LPYTHON_REAL%
"
(
echo
LPython executable not found.
>&
2
exit
/b
1
)
"
%LPYTHON_REAL%
"
%*
exit
/b
%ERRORLEVEL%
Back
|
FazBrowse Home
|
New Git URL