I have a main.cpp file in my src directory, and I have others stored in different paths that cannot be compiled independently. When I setup my .clang_complete in the project's root directory, I can get completion to work in main.cpp but not in any other file. I imagine it's just because clang tries to compile the cpp files as-is and doesn't know they are being included in another cpp file.
I have a main.cpp file in my src directory, and I have others stored in different paths that cannot be compiled independently. When I setup my .clang_complete in the project's root directory, I can get completion to work in main.cpp but not in any other file. I imagine it's just because clang tries to compile the cpp files as-is and doesn't know they are being included in another cpp file.
Is there any way to work around this?