mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Windows build batch file
This commit is contained in:
parent
e90dc42283
commit
6c7ccb0087
1 changed files with 13 additions and 0 deletions
13
clogframe/make-windows.bat
vendored
Normal file
13
clogframe/make-windows.bat
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
rem Instructions modified from https://github.com/webview/webview
|
||||||
|
|
||||||
|
mkdir libs\webview2
|
||||||
|
curl -sSL "https://www.nuget.org/api/v2/package/Microsoft.Web.WebView2" | tar -xf - -C libs\webview2
|
||||||
|
mkdir build
|
||||||
|
|
||||||
|
rem You may have to modify this for your system, depending on your version of Visual Studio
|
||||||
|
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||||
|
|
||||||
|
cl clogframe.cpp /std:c++17 /EHsc /Fobuild\ ^
|
||||||
|
/I libs\webview2\build\native\include ^
|
||||||
|
libs\webview2\build\native\x64\WebView2LoaderStatic.lib ^
|
||||||
|
/link advapi32.lib /OUT:build\clogframe.exe
|
||||||
Loading…
Add table
Add a link
Reference in a new issue