layer strength

This commit is contained in:
Connor
2026-02-23 23:07:10 +09:00
parent 1e6a8d4f60
commit 1b7fd1c7f8
10 changed files with 725 additions and 230 deletions

26
Makefile Normal file
View File

@@ -0,0 +1,26 @@
BUILD_DIR := build
BUILD_TYPE ?= Debug
.PHONY: all configure build run test clean world-editor
all: build
configure:
@cmake -S . -B $(BUILD_DIR) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
build: configure
@cmake --build $(BUILD_DIR) --target factory-hole-app -j$$(nproc)
run: build
@$(BUILD_DIR)/factory-hole-app
test: configure
@cmake --build $(BUILD_DIR) --target factory-hole-tests -j$$(nproc)
@cd $(BUILD_DIR) && ctest --output-on-failure
world-editor: configure
@cmake --build $(BUILD_DIR) --target node-editor -j$$(nproc)
@$(BUILD_DIR)/tools/node-editor/node-editor
clean:
@rm -rf $(BUILD_DIR)