UseSWIG: add management of SWIG option -module

When file property SWIG_MODULE_NAME is specified, provide option -module
to SWIG compiler.

Fixes: #18374
This commit is contained in:
Marc Chevrier
2018-11-27 15:10:32 +01:00
parent 7b3d4799f8
commit dff28141dc
20 changed files with 231 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
/* File : example.i */
%module example
%{
#include "example.h"
%}
/* Let's just grab the original header file here */
%include "example.h"