You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have quite a big project and want to check my include hierarchy and patch it up, but the problem is that i can't seem to make it work.
We have a file structure which is quite complex, and the project is made with CMake, defining multiple include folders as actual include directories.
It seems that cppclean is not able to work in such conditions, adding every single folder with --include-path is not doable, and also seems not to be able to find files with matching names.
Is this something that is fixable within cppclean, or am I screwed and do I really need to write something like a CMake wrapper for it.
Thanks
The text was updated successfully, but these errors were encountered:
You have to communicate the include paths to cppclean just like you would a compiler. It knows nothing about CMake. If I was dealing with such a monstrous case, I might run CMake in verbose mode and grep/sed for all the include paths.
Hey everyone.
I have quite a big project and want to check my include hierarchy and patch it up, but the problem is that i can't seem to make it work.
We have a file structure which is quite complex, and the project is made with CMake, defining multiple include folders as actual include directories.
It seems that cppclean is not able to work in such conditions, adding every single folder with --include-path is not doable, and also seems not to be able to find files with matching names.
Is this something that is fixable within cppclean, or am I screwed and do I really need to write something like a CMake wrapper for it.
Thanks
The text was updated successfully, but these errors were encountered: