The generate_translation_unit property is proving to be a significant problem in code generation. Essentially all of the C++ code generation is designed for creating source and header files. Unchecking this property means that all the source code has to be written to the header file instead, and that requires a lot of exceptions throughout the code base. While it does work currently, it's quite problematic when adding or updating code generation. I'm worried about long term code maintenance with all these exceptions. Much as I hate to break something that use to (mostly) work, I think this should be removed now before there are a large number of users, a few of whom could potentially be using this.
Note that this only affects C++ code generation -- neither wxPython or wxRuby used this since they don't have header files.
Description:
The
generate_translation_unit
property is proving to be a significant problem in code generation. Essentially all of the C++ code generation is designed for creating source and header files. Unchecking this property means that all the source code has to be written to the header file instead, and that requires a lot of exceptions throughout the code base. While it does work currently, it's quite problematic when adding or updating code generation. I'm worried about long term code maintenance with all these exceptions. Much as I hate to break something that use to (mostly) work, I think this should be removed now before there are a large number of users, a few of whom could potentially be using this.Note that this only affects C++ code generation -- neither wxPython or wxRuby used this since they don't have header files.