Put git configuration core.longpaths=true in Windows documentation (#3157)

This commit is contained in:
tdcosta100
2025-01-21 13:11:48 -03:00
committed by GitHub
parent 140586b98b
commit 0a88a0f68c

View File

@@ -15,10 +15,13 @@ To install the required Visual Studio components, open Visual Studio Installer a
Open `x64 Native Tools Command Prompt for VS 2022` and then clone the repository: Open `x64 Native Tools Command Prompt for VS 2022` and then clone the repository:
```cmd ```cmd
git clone --recurse-submodules -j8 https://github.com/maplibre/maplibre-native.git git clone --config core.longpaths=true --recurse-submodules -j8 https://github.com/maplibre/maplibre-native.git
cd maplibre-native cd maplibre-native
``` ```
> [!NOTE]
> The `core.longpaths=true` config is necessary, because without it a lot of `Filename too long` messages will come. If you have this configuration set globally (`git config --system core.longpaths=true`), you can omit the `--config core.longpaths=true` portion of the clone command.
## Configuring ## Configuring
Configure the build with the following command: Configure the build with the following command: