Add support for SWIG2_CSHARP macro to create SWIG 2 backwards compatability mode.

This commit is contained in:
Brant K. Kyser 2013-10-21 13:13:47 -05:00
commit 3720b48847
3 changed files with 68 additions and 0 deletions

View file

@ -14,6 +14,7 @@ top_builddir = ../@top_builddir@
CPP_TEST_CASES = \
csharp_attributes \
csharp_swig2_compatability \
csharp_exceptions \
csharp_features \
csharp_lib_arrays \
@ -36,6 +37,7 @@ CSHARPFLAGSSPECIAL =
# Custom tests - tests with additional commandline options
intermediary_classname.cpptest: SWIGOPT += -dllimport intermediary_classname
csharp_lib_arrays.cpptest: CSHARPFLAGSSPECIAL = -unsafe
csharp_swig2_compatability.cpptest: SWIGOPT += -DSWIG2_CSHARP
# Rules for the different types of tests
%.cpptest: