The code for generating unit tests files is split into a Batch file and a Shell script for Windows and Linux builds.
Having two different scripts is hard to maintain. The scripts should be merged into a single c++ executable or a python app. This would simplify the code for generating files.
How and when files are generated in also pretty confusing when looking at cmake projects. This would also need simplification.