Update cmake to 3.29.1, add cmake scripts

This commit is contained in:
doylet 2024-04-04 16:06:35 +11:00
parent f0c32fc669
commit e3395da405
6 changed files with 57 additions and 1 deletions

View File

@ -0,0 +1,7 @@
@echo off
setlocal
set path_to_add=%devenver_root%\CMake\3.24.3\bin
set path=%path_to_add%;%path%
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
call %*
endlocal

View File

@ -0,0 +1,7 @@
@echo off
setlocal
set path_to_add=%devenver_root%\CMake\3.26.4\bin
set path=%path_to_add%;%path%
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
call %*
endlocal

View File

@ -0,0 +1,7 @@
@echo off
setlocal
set path_to_add=%devenver_root%\CMake\3.29.1\bin
set path=%path_to_add%;%path%
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
call %*
endlocal

View File

@ -0,0 +1,6 @@
@echo off
setlocal
set exe=C:\Home\Cloud\PC\Programs\llamafile\llamafile-0.7
echo [DEVENVER] "%~dpnx0" is executing %exe%
call %exe% %*
endlocal

View File

@ -2,7 +2,6 @@
setlocal
set desired_path=%devenver_root%\RemedyBG\0_3_9_6
set desired_exe=remedybg.exe
set path=%desired_path%;%path%
set exe_to_use=""
for /f "delims=" %%a in ('where "$desired_path:%desired_exe%"') do ( set "exe_to_use=%%a")

View File

@ -79,6 +79,36 @@ def get_manifest(is_windows):
checksum = ""
symlink = []
version = "3.29.1"
if is_windows:
exe_path = f"bin/cmake.exe"
download_url = f"https://github.com/Kitware/CMake/releases/download/v{version}/cmake-{version}-windows-x86_64.zip"
download_checksum = "c8cf6ed50551d00ad8cd1f3b232810cd0a8b43b4a1d4f1393f0a575d423884dc"
checksum = "cc6050622336a786b336e22171f72ea178fc215b33d17d89b62a3cf6e98ea165"
symlink = [f"cmake-{version}.exe"]
else:
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"
symlink = [f"cmake-{version}"]
result[-1]['manifests'].append({
"download_checksum": download_checksum,
"download_url": download_url,
"version": version,
"executables": [
{
"path": exe_path,
"symlink": symlink,
"add_to_devenv_path": True,
"checksum": checksum,
}
],
"add_to_devenv_script": [],
})
version = "3.26.4"
if is_windows:
exe_path = f"bin/cmake.exe"