** swig maiken module **
Compile phase module
mod:
- name: lang.swig
compile: # calls swig-config --includes
src: $file1 $file2 # no default, one file required
conf: $str # default: "-python -c++"
inc: $dir0 $dir1 # add directories for header scanning
outdir: $dir # location of generated integration files - default src directory
objdir: $dir # location of generated source file - default src directory
outfile: $file # filename override for generated source file
lang: # default "cpp"
Windows cl:
mkn clean build -tSa -EHsc -d
*nix gcc:
mkn clean build -tSa "-O2 -fPIC" -d -l "-pthread -ldl"
Windows cl:
mkn clean build -tSa -EHsc -dp test run
*nix gcc:
mkn clean build -tSa "-O2 -fPIC" -dp test -l "-pthread -ldl" run
Key SWIG
Type string
Default ""
Description If set - uses string as command call instead of "swig"
Key PYTHON
Type string
Default "python3"
Description Name of python3 interpreter
Key PY3_CONFIG
Type string
Default "python3-config"
Description Used for python info if found