forked from LeenkxTeam/LNXRNT
54 lines
1.5 KiB
Markdown
54 lines
1.5 KiB
Markdown
# LNXRNT
|
|
|
|
Leenkx RunT - Runtime for Leenkx Full Stack SDK.
|
|
|
|
Based on [Krom](https://github.com/Kode/Krom). Powered by [Kore](https://github.com/Kode/Kore).
|
|
|
|
```bash
|
|
git clone --recursive https://dev.leenkx.com/LeenkxTeam/LNXRNT
|
|
cd LNXRNT
|
|
```
|
|
|
|
**Windows**
|
|
```bash
|
|
# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
|
|
Kore\make -g direct3d11
|
|
# Open generated Visual Studio project at `build\RunT.sln`
|
|
# or use command line for solution file like C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" "build\Leenkx-RunT.sln" /p:Configuration=Release /p:Platform=x64 /m
|
|
# Build for x64 & release
|
|
```
|
|
|
|
**Linux**
|
|
```bash
|
|
Kore/make -g opengl --compiler clang --compile
|
|
cd Deployment
|
|
strip RunT
|
|
```
|
|
|
|
**macOS**
|
|
```bash
|
|
Kore/make -g opengl
|
|
# Open generated Xcode project at `build/RunT.xcodeproj`
|
|
# Build
|
|
```
|
|
|
|
|
|
**LibreSSL for MacOS**
|
|
```bash
|
|
git clone https://github.com/jeroen/apple-libressl-sdk.git
|
|
cd apple-libressl-sdk
|
|
git checkout fce8ffe30c9939fa1d71076745d9b3c811b8a90e
|
|
```
|
|
|
|
**Webview for windodows**
|
|
```bash
|
|
# Windows needs the WebView2 SDK while mac and linux are OS implementations
|
|
curl -L https://www.nuget.org/api/v2/package/Microsoft.Web.WebView2 -o webview2.zip
|
|
powershell -Command "Expand-Archive -Path webview2.zip -DestinationPath webview2-tmp -Force"
|
|
xcopy /E /I /Y webview2-tmp\build\native\include webview2\include\
|
|
mkdir webview2\lib\x64
|
|
copy webview2-tmp\build\native\x64\WebView2Loader.dll.lib webview2\lib\x64\WebView2Loader.lib
|
|
rmdir /S /Q webview2-tmp
|
|
del webview2.zip
|
|
```
|