Ignore specific folder when use .cquery
meritozh opened this issue · comments
When I coding, using .cquery instead of compile_commands.json is more convenient because I will create or rename files later. But cquery will teat the folder exist .cquery file as root folder, recursively parsing all C family files. Here is my project layout:
.
├── include
│ └── xxx
├── lib
│ ├── common
│ ├── core
│ └── handler
├── src
│ └── main.c
└── test
└── xxx-test-server <= write in Node.js, with some .cc files in its _node_modules_
└── unit-test
I want ignore whole test/xxx-test-server folder. How to tell cquery to ignore specific folder when use .cquery file?
When I coding, using .cquery instead of compile_commands.json is more convenient because I will create or rename files later. But cquery will teat the folder exist .cquery file as root folder, recursively parsing all C family files. Here is my project layout:
. ├── include │ └── xxx ├── lib │ ├── common │ ├── core │ └── handler ├── src │ └── main.c └── test └── xxx-test-server <= write in Node.js, with some .cc files in its _node_modules_ └── unit-test
I want ignore whole test/xxx-test-server folder. How to tell cquery to ignore specific folder when use .cquery file?
I also need a similar feature, is there anyone looking into it?