Event Horizon of Thought

The limits of language mean the limits of the world.

← All articles

cmake

ubuntu update cmake

sudo curl -L "https://github.com/Kitware/CMake/releases/download/v4.5.0-rc1/cmake-4.5.0-rc1-linux-x86_64.sh" -o cmake-installer.sh && sudo bash ./cmake-installer.sh --skip-license --prefix=/usr/local --exclude-subdir && sudo ln -sf /usr/local/bin/cmake /usr/bin/cmake && rm -f cmake-installer.sh

windows use cmake from visual studio

$env:Path = "C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;" + $env:Path
cmake --version 
# expect: cmake version 4.x.x-msvc...