diff --git a/clogframe/build/clogframe.exe b/clogframe/build/clogframe.exe new file mode 100644 index 0000000..a2aaed7 Binary files /dev/null and b/clogframe/build/clogframe.exe differ diff --git a/clogframe/build/clogframe.obj b/clogframe/build/clogframe.obj new file mode 100644 index 0000000..554a3b7 Binary files /dev/null and b/clogframe/build/clogframe.obj differ diff --git a/clogframe/make-builder.bat b/clogframe/make-builder.bat new file mode 100644 index 0000000..de1e88b --- /dev/null +++ b/clogframe/make-builder.bat @@ -0,0 +1 @@ +sbcl --eval "(ql:quickload :clog/tools)" --eval "(sb-ext:save-lisp-and-die #P\"builder.exe\" :toplevel (lambda () (clog-tools:clog-builder :port 0 :app t :start-browser nil :clogframe t)) :executable t :compression nil)" diff --git a/clogframe/make-snake.bat b/clogframe/make-snake.bat new file mode 100644 index 0000000..ef3ef87 --- /dev/null +++ b/clogframe/make-snake.bat @@ -0,0 +1 @@ +sbcl --eval "(ql:quickload :clog)" --eval "(clog:load-demo 1)" --eval "(sb-ext:save-lisp-and-die #P\"snake.exe\" :toplevel (lambda () (clog-demo-1:start-demo :port 0 :app t :start-browser nil :clogframe t) (loop (sleep 10))) :executable t :compression nil)" \ No newline at end of file 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