I have been tasked with creating a (python) script that will disable a feature in our source code. The code is generated via third party configure software, through which a gui allows changes in settings to disable this feature. These changes take effort, and time to generate, hence the script. Theoretically, there are a bunch of flags in the header files (i.e #define thisFeature STD_ON) which I can flip easily with the script.
The part that is more difficult is changes in the source files, for which some functions are added/removed by the third party configuring software. These may change in the future, so I need to think of a solution that will remain usable. I cannot change the code for the third party application, as I need to avoid the generation process which takes time. I need to make changes so that when we build the product, the required changes are made and compile. Any suggestions would be great.