From 6c7ccb00870ae639f1ca546a1245bf29d21e8a2e Mon Sep 17 00:00:00 2001 From: Brady Stanton Date: Mon, 12 Dec 2022 14:12:30 -0800 Subject: [PATCH] Windows build batch file --- clogframe/make-windows.bat | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 clogframe/make-windows.bat diff --git a/clogframe/make-windows.bat b/clogframe/make-windows.bat new file mode 100644 index 0000000..4d0aa08 --- /dev/null +++ b/clogframe/make-windows.bat @@ -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