Skip to content

Commit 21ccbef

Browse files
committed
Update WindowsPort.md in 2024 August
* Renamed `bin64` directory to `bin` for <https://github.com/WebKitForWindows/WebKitRequirements/releases/tag/v2024.08.18> * Added how to activate Developer Mode * Added how to set a custom LLVM location
1 parent ad7eff1 commit 21ccbef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/Ports/WindowsPort.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ It supports only 64 bit Windows.
99

1010
Install [the latest Visual Studio with "Desktop development with C++" workload](https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation).
1111

12+
[Activate Developer Mode](https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development#activate-developer-mode).
13+
build-webkit script creates a symlink to a generated compile_commands.json.
14+
1215
Install CMake, Perl, Python, Ruby, gperf \([GnuWin32 Gperf](https://gnuwin32.sourceforge.net/packages/gperf.htm)\), LLVM, and Ninja.
1316
Python 3.12 has [a problem for WebKit at the moment](https://webkit.org/b/261113). Use Python 3.11.
1417

@@ -66,7 +69,7 @@ path %ProgramFiles(x86)%\Microsoft Visual Studio\Installer;%path%
6669
for /F "usebackq delims=" %%I in (`vswhere.exe -latest -property installationPath`) do set VSPATH=%%I
6770
6871
rem set WEBKIT_LIBRARIES=%~dp0WebKitLibraries\win
69-
path %~dp0WebKitLibraries\win\bin64;%path%
72+
path %~dp0WebKitLibraries\win\bin;%path%
7073
set WEBKIT_TESTFONTS=%~dp0Tools\WebKitTestRunner\fonts
7174
set DUMPRENDERTREE_TEMP=%TEMP%
7275
@@ -123,6 +126,9 @@ You can run programs under a debugger with [this instruction](../Build & Debug/D
123126

124127
You can use CMake Visual Studio generator instead of Ninja generator.
125128
Install [the LLVM extension](https://learn.microsoft.com/en-us/cpp/build/clang-support-msbuild) of MSBuild.
129+
It bundles a Clang compiler.
130+
But, if the bundled compiler is too old, you might need to [set a custom LLVM location and toolset](https://learn.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-170#custom_llvm_location).
131+
Instead of creating a Directory.build.props file, you can [set LLVMInstallDir and LLVMToolsVersion environment variables](https://marketplace.visualstudio.com/items?itemName=MarekAniola.mangh-llvm2019).
126132

127133
In the WebKit command prompt,
128134

0 commit comments

Comments
 (0)