This commit is contained in:
Timerix 2025-04-25 20:36:23 +05:00
parent 683414c59b
commit 4488776afe
4 changed files with 22 additions and 14 deletions

View File

@ -1 +1 @@
2.1.4 2.2.0

View File

@ -1,35 +1,43 @@
# v2.1.4 ## 2.2.0
+ **config**: removed slash after `--fullpath-after` in `VALGRIND_ARGS`
+ **config**: removed `CONFIG_VERSION` variable
+ **config**: added `LINKER_LIBS` variable
+ added `detect_arch` function and `ARCH` global variable
+ added [default vscode launch config](./default_vscode/)
+ refactored `sed` calls to not use `-i` argument because it caused errors on NTFS
## v2.1.4
+ added `-Wl,-rpath` argument generation in `link()`. It forces ld to link to local shared library in `OUTDIR` + added `-Wl,-rpath` argument generation in `link()`. It forces ld to link to local shared library in `OUTDIR`
# v2.1.3 ## v2.1.3
+ added `DEP_OTHER_OUT_FILES` to dependency configs + added `DEP_OTHER_OUT_FILES` to dependency configs
+ if `PRESERVE_OUT_DIRECTORY_STRUCTURE=true` then `DEP_DYNAMIC_OUT_FILES` and `DEP_OTHER_OUT_FILES` are copied to `OUTDIR` preserving directory structure (example_dir/lib1.so -> $OUTDIR/example_dir/lib1.so) + if `PRESERVE_OUT_DIRECTORY_STRUCTURE=true` then `DEP_DYNAMIC_OUT_FILES` and `DEP_OTHER_OUT_FILES` are copied to `OUTDIR` preserving directory structure (example_dir/lib1.so -> $OUTDIR/example_dir/lib1.so)
# v2.1.2 ## v2.1.2
+ changed compile_c and compile_cpp functions + changed compile_c and compile_cpp functions
+ bootstrap now can print help and list of installed versions + bootstrap now can print help and list of installed versions
# v2.1.1 ## v2.1.1
+ **config**: removed `TESTS_C` and `TESTS_CPP` compilation + **config**: removed `TESTS_C` and `TESTS_CPP` compilation
# v2.1.0 ## v2.1.0
+ **config**: no more `current.config` and `default.config`, just `project.config` + **config**: no more `current.config` and `default.config`, just `project.config`
+ improved version checking + improved version checking
+ `setup.sh` now installs each minor version in separate dicectory + `setup.sh` now installs each minor version in separate dicectory
+ added `bootstrap.sh` which automaticly selects cbuild version specified in project config + added `bootstrap.sh` which automaticly selects cbuild version specified in project config
# v2.0.2 ## v2.0.2
+ new dependency resolution system (see **config** and `example_dependency_configs`) + new dependency resolution system (see **config** and `example_dependency_configs`)
+ **config**: changed description of `OBJDIR` + **config**: changed description of `OBJDIR`
+ **config**: added task `rebuild_dependencies` + **config**: added task `rebuild_dependencies`
+ added variable `TASK_ARGS` which can be used in task scripts + added variable `TASK_ARGS` which can be used in task scripts
# v2.0.1 ## v2.0.1
+ updated `.gitignore` + updated `.gitignore`
+ **config**: added `pwd` call to `valgrind` task + **config**: added `pwd` call to `valgrind` task
+ **config**: added `""` empty task check + **config**: added `""` empty task check
# 2.0.0 ## 2.0.0
+ updated setup.sh to do system-wide installation + updated setup.sh to do system-wide installation
+ deleted makefile (call `./cbuild.sh` or installed `cbuild`) + deleted makefile (call `./cbuild.sh` or installed `cbuild`)
+ added command line arguments: + added command line arguments:
@ -42,7 +50,7 @@
+ `init.sh` became `config.sh` with function `load_config` + `init.sh` became `config.sh` with function `load_config`
+ moved color variables and print functions to `myprint.sh` + moved color variables and print functions to `myprint.sh`
# v1.7.0 ## v1.7.0
+ added function `resolve_dependencies` to `link` + added function `resolve_dependencies` to `link`
+ added variables `DEPS_BASEDIR` and `DEPS` to config + added variables `DEPS_BASEDIR` and `DEPS` to config
+ added script `rebuild_dep.sh` which can be called through `Makefile` + added script `rebuild_dep.sh` which can be called through `Makefile`
@ -51,7 +59,7 @@
+ added task `no_task` which is been set in `init.sh` when `TASK` is empty + added task `no_task` which is been set in `init.sh` when `TASK` is empty
+ now `STATIC_LIB_FILE` starts with "lib" + now `STATIC_LIB_FILE` starts with "lib"
# v1.6.0 ## v1.6.0
+ `build_profile` task was split to `profile` and `gprof` + `build_profile` task was split to `profile` and `gprof`
+ added task `sanitize` + added task `sanitize`
+ default C++ standard set to `c++11` + default C++ standard set to `c++11`
@ -60,7 +68,7 @@
+ added function `try_delete_dir_or_file` for `clean` task + added function `try_delete_dir_or_file` for `clean` task
+ dead code removal in `build_exec` and `build_static_lib` + dead code removal in `build_exec` and `build_static_lib`
# v1.5.0 ## v1.5.0
+ added task `clean` + added task `clean`
+ added task `exec_dbg` + added task `exec_dbg`
+ added task `build_profile` + added task `build_profile`

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
INSTALLED_CBUILD_VERSION=2.1.4 INSTALLED_CBUILD_VERSION=2.2.0
# set \t size to 4 spaces # set \t size to 4 spaces
tabs 4 tabs 4

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
CBUILD_VERSION=2.1.4 CBUILD_VERSION=2.2.0
PROJECT="%PROJECT_NAME%" PROJECT="%PROJECT_NAME%"
CMP_C="gcc" CMP_C="gcc"