Skip to content

Commit

Permalink
Add long path enabling and ATL install instructions to Build/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
egorodet authored Feb 17, 2023
1 parent 3067f0a commit fb72476
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- Windows 10 RS5 (build 1809) or later
- Visual Studio 2019/22 with MSVC v142 or later
- Windows 10 SDK (latest)
- Visual C++ ATL Support (required by DXC)
- **Linux**
- Ubuntu 20.04 or later
- GCC 9 or later
Expand All @@ -45,8 +46,10 @@ to fetch dependent repositories during CMake configuration stage, so it should b
with `git clone` command or to download as ZIP-archive using `Code > Download ZIP` button.
- All [External](/Externals) dependencies are fetched to the `Build/Output/ExternalsCache/...` directory,
which can be changed by adding `-DCPM_SOURCE_CACHE=<cache_path>` to the CMake configuration command.
- Consider using <ins>short path for repository location on Windows</ins> (for example `c:\Git\`),
which may be required to resolve problem with support of paths longer than 260 symbols for some of Microsoft build tools.
- Enable [paths longer than 260 symbols in Windows](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell) to allow CMake normally generate build subdirectories. Long paths can be enabled with this command run from Administrator PowerShell terminal:
```powershell
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
```

### First time initialization

Expand Down

0 comments on commit fb72476

Please sign in to comment.