1 Aug 2009 21:27
Keeping C# generated files up to date
Juan Manuel Alvarez <naicigam <at> gmail.com>
2009-08-01 19:27:38 GMT
2009-08-01 19:27:38 GMT
Hello everyone! I have an issue I hope someone has already solved. I am wrapping to C# a .h file with some structs: MyStruct1, MyStruct2 and MyStruct3. This generates a module .cs file and three other files: MyStruct1.cs, MyStruct2.cs and MyStruct3.cs. The thing happens when I change the .h file, deleting one struct and adding another. For example, I delete MyStruct2 and add MyStruct4. This causes the module file to change, but does not cause the MyStruct2.cs file to be deleted, generating an inconsistency. I don't want to delete all the .cs files in the folder, since that would cause me to regenerate all the wrappers again, even the ones that did not change. I reviewed all the command line options, but I couldn't find any that helped. One solution would be to generate a .cs file for each .i, but I also couldn't find how to do that. Is there a way I can keep the .cs files syncronized with the wrappers? Thanks in advance Juan M. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july(Continue reading)
RSS Feed