Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems using include hierarchy build with CMake #49

Closed
TheOnlyJoey opened this issue Feb 13, 2014 · 1 comment
Closed

Problems using include hierarchy build with CMake #49

TheOnlyJoey opened this issue Feb 13, 2014 · 1 comment

Comments

@TheOnlyJoey
Copy link

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

@myint
Copy link
Owner

myint commented Feb 14, 2014

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.

@myint myint closed this as completed Feb 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants