diff --git a/Project-Setup.md b/Project-Setup.md index 03d9425..dd93c83 100644 --- a/Project-Setup.md +++ b/Project-Setup.md @@ -160,6 +160,11 @@ _appended_ to the compiler flags for files found in `compile_commands.json`. This argument should be added only when parsing C (`%c`), C++ (`%cpp`), Objective-C (`%objective-c`), or Objective-C++ (`%objective-c++`) files. +### `%cu + +This argument should be added only when parsing CUDA files. If you want an option to be added +to both CUDA and regular C++ files, write `%cpp %cu -DA`. + ### `%h` / `%hpp` This argument should be added only when indexing C header files (`%h`: `*.h`) or C++ @@ -276,4 +281,4 @@ mkdir Debug; cd Debug ../configure --enable-optimize=no --enable-debug --prefix=~/.local/stow/musl bear make -j cd ..; ln -s Debug/compile_commands.json -``` \ No newline at end of file +```