ref: add build-release make target for building c/vm without sanitizer libs

This commit is contained in:
samsonium
2026-10-21 04:01:23 +03:00
parent 138d503bce
commit c8f3cd61f4
3 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
.PHONY: configure build debug-c debug-vm test
.PHONY: build debug-c debug-vm test
configure:
build:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build
build: configure
build-release:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
debug-c: build
+1 -1
View File
@@ -27,7 +27,7 @@ Working examples of code can be found in `exl/` directory.
## Building
1. Clone the repository: `git clone https://git.samsonium.dev/samsonium/fz-lang.git`
2. Build: `make build`
2. Build: `make build-release`
After this, a "build" directory will appear in the project root. It will contain two executable files:
+1 -1
View File
@@ -27,7 +27,7 @@
## Инструкции по сборке
1. Склонировать проект: `git clone https://git.samsonium.dev/samsonium/fz-lang.git`
2. Собрать проект: `make build`
2. Собрать проект: `make build-release`
После этого в корне появится директория **"build"**. В ней будут лежать два скомпилированных бинарных файла: