ref: add build-release make target for building c/vm without sanitizer libs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -27,7 +27,7 @@
|
||||
## Инструкции по сборке
|
||||
|
||||
1. Склонировать проект: `git clone https://git.samsonium.dev/samsonium/fz-lang.git`
|
||||
2. Собрать проект: `make build`
|
||||
2. Собрать проект: `make build-release`
|
||||
|
||||
После этого в корне появится директория **"build"**. В ней будут лежать два скомпилированных бинарных файла:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user