Case insensitive #include

I have imported a project developed in Windows system. The name of the files used in #include imports don't match exactly the name of the real hpp files, because differences in case. In Windows environment this is not a problem, but I'm trying to import this project to Clion on Linux. Is there any way to force Clion to recognize the include files in a case insensitive mode?

Thanks

0
5 comments

Hi Alejandro.

It’s not a CLion restriction but it’s a Linux behaviour.
All system paths in Linux should be case-sensitive.

0

I know is a Linux restrictions, and not a Clion problem. But its a restriction in my case, too.
My intention is to check if Clion support this, and if not, then request this as a feature.

Where can I request this feature?

Thanks

0

The IDE recognize correctly my headers files, in case insensitive form. I had to add the correct directories to cmake configuration. Sorry for the mistake.

Thanks

0

We have the same issue on OS/X.

Our simple solution is to keep all filenames lowercase, then you will never have these issues.

Ries

0

Thanks, but I can't do that solution, because I checkout periodically a third party project, and only need to navigate the code, but can't change anything.

0

Please sign in to leave a comment.