Add cmake to dev build instructions (#17943)

Release Notes:

- N/A
This commit is contained in:
Richard Feldman 2024-09-17 14:07:50 -04:00 committed by GitHub
parent 7246a0f39c
commit e6c4076ef0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 0 deletions

View file

@ -29,6 +29,12 @@ Clone down the [Zed repository](https://github.com/zed-industries/zed).
rustup target add wasm32-wasip1 rustup target add wasm32-wasip1
``` ```
- Install `cmake` (required by [a dependency](https://docs.rs/wasmtime-c-api-impl/latest/wasmtime_c_api/))
```sh
brew install cmake
```
## Backend Dependencies ## Backend Dependencies
If you are developing collaborative features of Zed, you'll need to install the dependencies of zed's `collab` server: If you are developing collaborative features of Zed, you'll need to install the dependencies of zed's `collab` server:

View file

@ -22,6 +22,7 @@ Clone down the [Zed repository](https://github.com/zed-industries/zed).
- Install [Visual Studio](https://visualstudio.microsoft.com/downloads/) with the optional component `MSVC v*** - VS YYYY C++ x64/x86 build tools` (`v***` is your VS version and `YYYY` is year when your VS was released) - Install [Visual Studio](https://visualstudio.microsoft.com/downloads/) with the optional component `MSVC v*** - VS YYYY C++ x64/x86 build tools` (`v***` is your VS version and `YYYY` is year when your VS was released)
- Install Windows 11 or 10 SDK depending on your system, but ensure that at least `Windows 10 SDK version 2104 (10.0.20348.0)` is installed on your machine. You can download it from the [Windows SDK Archive](https://developer.microsoft.com/windows/downloads/windows-sdk/) - Install Windows 11 or 10 SDK depending on your system, but ensure that at least `Windows 10 SDK version 2104 (10.0.20348.0)` is installed on your machine. You can download it from the [Windows SDK Archive](https://developer.microsoft.com/windows/downloads/windows-sdk/)
- Install [CMake](https://cmake.org/download)
## Backend dependencies ## Backend dependencies

View file

@ -25,6 +25,7 @@ if [[ -n $apt ]]; then
libvulkan1 libvulkan1
libgit2-dev libgit2-dev
make make
cmake
clang clang
mold mold
jq jq
@ -44,6 +45,7 @@ if [[ -n $dnf ]]; then
gcc gcc
g++ g++
clang clang
cmake
mold mold
alsa-lib-devel alsa-lib-devel
fontconfig-devel fontconfig-devel
@ -78,6 +80,7 @@ if [[ -n $zyp ]]; then
gcc-c++ gcc-c++
clang clang
make make
cmake
alsa-devel alsa-devel
fontconfig-devel fontconfig-devel
wayland-devel wayland-devel
@ -99,6 +102,7 @@ if [[ -n $pacman ]]; then
deps=( deps=(
gcc gcc
clang clang
cmake
alsa-lib alsa-lib
fontconfig fontconfig
wayland wayland
@ -122,6 +126,7 @@ if [[ -n $xbps ]]; then
deps=( deps=(
gettext-devel gettext-devel
clang clang
cmake
jq jq
elfutils-devel elfutils-devel
gcc gcc
@ -148,6 +153,7 @@ if [[ -n $emerge ]]; then
app-arch/zstd app-arch/zstd
dev-libs/openssl dev-libs/openssl
dev-libs/wayland dev-libs/wayland
dev-util/cmake
media-libs/alsa-lib media-libs/alsa-lib
media-libs/fontconfig media-libs/fontconfig
media-libs/vulkan-loader media-libs/vulkan-loader