Setting Up Include Paths and Macros for Eclipse CDT Indexer for Chromium - ds-hwang/wiki GitHub Wiki
Depricated
Eclipse
- Discovery Options in CDT is deprecated. So old way doesn't work anymore.
- Need to use Eclipse build but it's burdensome, so take advantage of dry-run.
Build setting
- Go to
C/C++ Build
- In
Build directory
, click Workspace
and choose out/Debug
Build command
is /home/dshwang/chromium/depot_tools/ninja -C ./ -v -n
- In
Behavior
tab, check Enable parallel build
Build (Incremental build)
is chrome
- Run build project!
Parse Paths and Macros
- Refer Setting Up Include Paths and Macros for C/C++ Indexer
- Go to
C/C++ General > Preprocessor Include Path, Macros etc.
- Click
Providers
tab, and click CDT GCC Build Output Parser
Compiler command pattern
is .*(clang)|(clang\+\+)
- Check
Project
in Container to keep discovered entries
- Click
Apply
ENJOY
More indexer settings
out_.*|\.git|Release|LayoutTests|buildtools|native_client|android_tools|debian_.*|ubuntu_.*|third_party|