From 6ede9140928f08220960995d3d430a9809d908c6 Mon Sep 17 00:00:00 2001 From: Huseyn Ismayilov Date: Fri, 22 Nov 2024 17:49:55 +0400 Subject: [PATCH] docs: Add shell file instructions and seperate building options --- docs/Building Project.md | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/docs/Building Project.md b/docs/Building Project.md index b13a8e8..f84181f 100644 --- a/docs/Building Project.md +++ b/docs/Building Project.md @@ -10,18 +10,36 @@ After clonning the repo, update the submodules: git submodule update --init ``` -That's it! You can build and run the project with `make` command +That's it! You can build and run the project by entering `scripts` directory and using `make` command or `BuildProject.sh` file. ## Commands +### Makefile Here is the list of each `make` command: `make` - builds the project and runs it (default: debug)
-`make debug` - builds the project as debug
-`make release` - builds the project as release
-`make run` - runs the executable
-`make clean` - cleans the build target
-`make clean-all` - deletes build directory
+`make build-debug` - builds the project as debug
+`make build-release` - builds the project as release
+`make run-debug` - runs the executable of debug
+`make run-release` - runs the executable of release
+`make clean-debug` - cleans the build target of debug
+`make clean-release` - cleans the build target of release
+`make clean-debug-all` - deletes debug build directory
+`make clean-release-all` - deletes release build directory
+ +### Shell file +Here is the list of each `BuildProject.sh` command: + +`./BuildProject.sh all` - builds the project and runs it (default: debug)
+`./BuildProject.sh build-debug` - builds the project as debug
+`./BuildProject.sh build-release` - builds the project as release
+`./BuildProject.sh run-debug` - runs the executable of debug
+`./BuildProject.sh run-release` - runs the executable of release
+`./BuildProject.sh clean-debug` - cleans the build target of debug
+`./BuildProject.sh clean-release` - cleans the build target of release
+`./BuildProject.sh clean-debug-all` - deletes debug build directory
+`./BuildProject.sh clean-release-all` - deletes release build directory
+ ## Dependencies