How to add include directories without changing cmakeCommonLists?
已回答
I am working on a big project and I can't push any include directory I want to it.
If I change cmakeCommomLists in order to add include directories, it means that every time I will push to my project I'll need to look that I haven't pushed that makefile changes and as we all developers know - that is a room for many mistakes.
that's why I am looking for a solution that will allow me to add include directories to the PROJECT himself (by settings/build_configuration/.. or something like that) and not by adding any lines to any makefile.
Is this possible in Clion?
请先登录再写评论。
Hello!
The only option to add include directories to a CMake project in CLion is to use include_directories() in the CMakeLists.txt - https://www.jetbrains.com/help/clion/quick-cmake-tutorial.html#inc-dirs.
Do you think this feature will be available in the future?..
No such plans for the upcoming release, sorry.