I'm trying to do something that I'm sure is possible but running into
My application runs on multiple platforms and thus has definitions that have
#defined sections depending on which platform is defined (from a project
file #include). I'm trying to make this platform #define visible to the
swig bind file or recreate it some how without having to create completely
different swig bind files.
I've tried doing something like this:
Where AppBind.i is the bind file that has all the interface binding, and I
would just have each platform project file call a different platform bind
file. But that didn't seem to work. I was also wondering if there were
someone that you could pass in a define or include another file from the
command line, but didn't find any such support.
Any ideas on how to accomplish this?