forked from lailongwei/llbc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWinPreBuild.bat
More file actions
34 lines (30 loc) · 848 Bytes
/
WinPreBuild.bat
File metadata and controls
34 lines (30 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@echo off
Rem Generate visual studio project files
Rem This file is a part of llbc library
echo Visual Studio solution and project files generate tool.
echo For now supported Visual Studio versions:
echo vs2005
echo vs2008
echo vs2010
echo vs2012
echo vs2013
echo vs2015
echo vs2017
echo vs2019
echo vs2022
set /p choose=Please input:
cd tools\premake && premake5_windows.exe %choose%
if errorlevel 1 (
echo Failed to generate Visual Studio solution and project files, error: %errorlevel%
pause
exit 1
) else (
echo Succcess to generate Visual Studio solution and project files
echo Solution file path: build/%choose%/llbc_%choose%.sln
if "%1"=="" (
explorer ..\..\build\%choose%
)
if "%1"=="1" (
explorer ..\..\build\%choose%
)
)