Add cmake scripts

This commit is contained in:
2024-04-08 09:35:15 +10:00
parent e3395da405
commit 9f89c0d3df
4 changed files with 33 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
curr_script=$(realpath "${BASH_SOURCE[0]}")
path_to_add=${devenver_root}/CMake/3.29.1/bin
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
PATH=${path_to_add}:${PATH} $@
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
curr_script=$(realpath "${BASH_SOURCE[0]}")
root_path=${devenver_root}/CMake
path_to_add=${root_path}/$1/bin
if [ "$1" == "list" ]; then
ls ${root_path}
else
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
PATH=${path_to_add}:${PATH} ${@:2}
fi
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
curr_script=$(realpath "${BASH_SOURCE[0]}")
root_path=${devenver_root}/NodeJS
path_to_add=${root_path}/$1/bin
if [ "$1" == "list" ]; then
ls ${root_path}
else
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
PATH=${path_to_add}:${PATH} ${@:2}
fi