Rename Kromx to armorcore for more clarity

This commit is contained in:
unknown
2020-08-15 15:03:16 +02:00
parent 24618db4f9
commit 2132fb8345
4 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -14,4 +14,4 @@ jobs:
- name: Get Node.js
run: git clone https://github.com/Kode/nodejs_bin.git --depth 1
- name: Compile
run: nodejs_bin/node-linux64 Kromx/make.js -g opengl
run: nodejs_bin/node-linux64 armorcore/make.js -g opengl
+6 -6
View File
@@ -12,7 +12,7 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Get Submodules
@@ -21,12 +21,12 @@ jobs:
uses: actions/setup-node@v1.4.2
- name: install msbuild
uses: microsoft/setup-msbuild@v1
- name: kromx
run: node Kromx/make -g direct3d11
- name: armorcore
run: node armorcore/make -g direct3d11
- name: Unpack v8_monolith
uses: DuckSoft/extract-7z-action@v1.0
with:
pathSource: Kromx/v8/libraries/win32/release/v8_monolith.7z
pathTarget: Kromx/v8/libraries/win32/release/
pathSource: armorcore/v8/libraries/win32/release/v8_monolith.7z
pathTarget: armorcore/v8/libraries/win32/release/
- name: Kinc and compile
run: cd Kromx;node Kinc/make -g direct3d11 --compile
run: cd armorcore;node Kinc/make -g direct3d11 --compile
+1 -1
View File
@@ -1,3 +1,3 @@
# syslib
System library for Kromx.
System library for armorcore.
+22 -22
View File
@@ -14,8 +14,8 @@ cd armorpaint
```
```bash
# Windows
node Kromx/make -g direct3d11
cd Kromx
node armorcore/make -g direct3d11
cd armorcore
# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
git apply patch/window_handling.diff --directory=Kinc
node Kinc/make -g direct3d11
@@ -25,8 +25,8 @@ node Kinc/make -g direct3d11
```
```bash
# Linux
node Kromx/make -g opengl
cd Kromx
node armorcore/make -g opengl
cd armorcore
node Kinc/make -g opengl --compiler clang --compile
cd Deployment
strip Krom
@@ -34,42 +34,42 @@ strip Krom
```
```bash
# macOS
node Kromx/make -g metal
cp -a build/krom/ Kromx/Deployment
cd Kromx
node armorcore/make -g metal
cp -a build/krom/ armorcore/Deployment
cd armorcore
git apply patch/metal_shared_sampler.diff --directory=Kinc
node Kinc/make -g metal
# Open generated Xcode project
# Add `path/to/armorpaint/Kromx/v8/libraries/macos/release` into `Project - Krom - Build Settings - Search Paths - Library Search Paths`
# Add `path/to/armorpaint/armorcore/v8/libraries/macos/release` into `Project - Krom - Build Settings - Search Paths - Library Search Paths`
# Build
```
```bash
# Android - wip
node Kromx/make android -g opengl --shaderversion 300
cp -r build/krom/ Kromx/build/Krom/app/src/main/assets/
cd Kromx
node armorcore/make android -g opengl --shaderversion 300
cp -r build/krom/ armorcore/build/Krom/app/src/main/assets/
cd armorcore
node Kinc/make android -g opengl
# Manual tweaking is required for now:
# https://github.com/armory3d/Kromx/blob/master/kincfile.js#L68
# https://github.com/armory3d/armorcore/blob/master/kincfile.js#L68
# Open generated Android Studio project
# Build for device
```
```bash
# iOS - wip
node Kromx/make ios -g metal
cp -a build/krom/ Kromx/Deployment
cd Kromx
node armorcore/make ios -g metal
cp -a build/krom/ armorcore/Deployment
cd armorcore
git apply patch/metal_shared_sampler.diff --directory=Kinc
git apply patch/ios_document_picker.diff --directory=Kinc
node Kinc/make ios -g metal
# Open generated Xcode project
# Add `path/to/Kromx/v8/libraries/ios/release` into `Project - Krom - Build Settings - Search Paths - Library Search Paths`
# Add `path/to/armorcore/v8/libraries/ios/release` into `Project - Krom - Build Settings - Search Paths - Library Search Paths`
# Build for device
```
```bash
# Windows DXR - wip
node Kromx/make -g direct3d12
cd Kromx
node armorcore/make -g direct3d12
cd armorcore
# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
git apply patch/window_handling.diff --directory=Kinc
git apply patch/d3d12_raytrace.diff --directory=Kinc
@@ -81,8 +81,8 @@ node Kinc/make -g direct3d12 --raytrace dxr
```
```bash
# Linux VKRT - wip
node Kromx/make -g vulkan
cd Kromx
node armorcore/make -g vulkan
cd armorcore
git apply patch/vulkan_raytrace.diff --directory=Kinc
node Kinc/make -g vulkan --raytrace vkrt --compiler clang --compile
cd Deployment
@@ -91,8 +91,8 @@ strip Krom
```
```bash
# Windows VR - wip
node Kromx/make -g direct3d11 --vr oculus
cd Kromx
node armorcore/make -g direct3d11 --vr oculus
cd armorcore
# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
git apply patch/window_handling.diff --directory=Kinc
node Kinc/make -g direct3d11 --vr oculus