mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
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:
9
Tests/UseSWIG/ModuleName/example.i
Normal file
9
Tests/UseSWIG/ModuleName/example.i
Normal 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"
|
||||
Reference in New Issue
Block a user