-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
The current implementation defines --override as the following:
- If *.h or *.cpp file exists,
- Compute MD5 of input file and compare with MD5 found in *.cpp file.
- If MD5 compare is the same, skip file generation
- Else, look for the --override flag for deciding if we should regenerate the output file.
This makes the --override flag useless if the MD5 in the cpp file is not changed while the content of the *.cpp file is changed.
In other words, --override should always override the output files
The implementation should be changed as the following:
- By default, the application stores the input file 'modified date' into the generated output files header.
- If the output files exists and that 'modified date' in the generated files matches the intput files, then skip file regeneration (the resulting files will likely be the same which will trigger Visual Studio to rebuild the project)
- If the --override flag is specified, then the application should not look for the 'modified date' value and regenerated the files anyway.
Reactions are currently unavailable