I have an Eclipse project that I need to auto-generate some files before compiling it. I donβt want to put these automatically generated files into my repository, so every time I compile projetct, I pre-compile to automatically create these files.
The problem is that these automatically generated files are * .c and * .h files, and the first time I compile a project, the following happens (in that order):
- pre-build: auto-generate some * .c and * .h
- build: eclipse will not create these automatically generated files
If I compile again, these files will be compiled. Perhaps this is due to the process of detecting which eclipse files will be compiled. Before starting the compilation, we do not have these automatically generated * .c and * .h files.
The second time we compile, we already have these automatically generated files, so these files are compiled.
source share