Add cmake scripts

This commit is contained in:
doylet 2024-04-08 09:35:15 +10:00
parent e3395da405
commit 9f89c0d3df
4 changed files with 33 additions and 1 deletions

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
Linux/Scripts/cmake_env.sh Executable file
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
Linux/Scripts/node_env.sh Executable file
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

View File

@ -90,7 +90,7 @@ def get_manifest(is_windows):
exe_path = f"bin/cmake"
download_url = f"https://github.com/Kitware/CMake/releases/download/v{version}/cmake-{version}-linux-x86_64.tar.gz"
download_checksum = "751bbe7ccabb78179335a75b88999b1c52afcd4d8a4cd03217d367d8bb2c5100"
checksum = "aaa"
checksum = "0c771e1330fc34444dca0e39447332fb82169ab58b4335d8b6eec03917b7cab4"
symlink = [f"cmake-{version}"]
result[-1]['manifests'].append({