** Compile stage plugin to to run include-what-you-use on all applicable files **
mod:
- name: cpp.iwyu
compile:
headers: -x c++-header # h files need this for scanning if they are C++
args: -std=c++17 # additional arguments
inc: inc/1 inc/2 # additional include directories
paths: search/dir # scan directories
ignore: src/python3 # if file found has path that contains string ignore
*nix gcc:
mkn clean build -dtOa "-fPIC" -l "-pthread -ldl"
*nix gcc:
mkn clean build -dtOa "-fPIC" -l "-pthread -ldl" -p test run