Develop Linux Kernel Modules with CLion IDE
I’m currently working on a Linux kernel module. CLion is my favorite IDE but out of the box it doesn’t work for Linux kernel development. It doesn’t find Linux include files for example. I created this little demo project that hopefully helps you to use CLion for Linux development! This setup only helps CLion to do proper auto suggestions and other convenient IDE stuff, but doesn’t automatically build the kernel module. For this you need to execute
$ make manually 🙂 My solution can be found on Gitlab. My project is a fork of this original project. BIG THANKS to the original author(s).