My unsatiated need for autocomplete has lead me to this.
- Replace the names, and maybe the kernel header path in
CMakeLists.txt - Create a build directory. For example
mkdir build cdinto the build directory- Run
cmake .. - Run
make. This should build the dummy library. From now on autocomplete should be working. - Run
make module. This will build your module. - Happy hacking!
Shamelessly frankensteining these two resources: