mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 04:29:31 +00:00
1.3 KiB
1.3 KiB
layout | title | grand_parent | parent |
---|---|---|---|
default | Configuring VS Code for ICU4C | Setup for Contributors | C++ Setup |
Configuring VS Code for ICU4C
{: .no_toc }
Contents
{: .no_toc .text-delta }
- TOC {:toc}
- Create a
.vscode
folder in icu4c/source - Copy the
tasks.json
,launch.json
andc_cpp_properties.json
files into the.vscode
folder. - To test only specific test targets, specify them under
args
inlaunch.json
. - To adjust the parallelism when building, adjust the
args
intasks.json
.-l20
tells VSCode to not launch jobs if the system load average is above 20 (note that the system load average is not a CPU usage percentage).-j24
limits the number of jobs launched in parallel to 24. The system load average takes a while to respond, reducing this number helps the initial bad system performance when a new build is launched.
NOTE:
Run the
./runConfigureICU
command
before building icu4c
from VSCode.