Open eberghoefer opened 8 years ago
The same problem also applies to the following files.
see: https://github.com/rock-simulation/mars/blob/18a719be911bc4d5d30fa080b4e47b4fbff3a9ad/common/cfg_manager/src/CFGManager.cpp#L68 https://github.com/rock-simulation/mars/blob/18a719be911bc4d5d30fa080b4e47b4fbff3a9ad/smurf_loader/src/SMURFLoader.cpp#L376
Maybe it is possible to write those files to a path given by a config file. That way at least its possible to write them to /dev/null. Or maybe include a flag in a config file if debug files should be dumped or not.
It is a bit annoying that the smurf entity_generation is generating files for debug even if build in Release. If it is used in another program which just links this stuff indirectly, the user has no idea where it comes from without fgrepping for the file names, not nice.
@malter @kavonszadkowski
see:
https://github.com/rock-simulation/mars/blob/18a719be911bc4d5d30fa080b4e47b4fbff3a9ad/entity_generation/smurf/src/smurf.cpp#L912 https://github.com/rock-simulation/mars/blob/18a719be911bc4d5d30fa080b4e47b4fbff3a9ad/entity_generation/smurf/src/smurf.cpp#L196 https://github.com/rock-simulation/mars/blob/18a719be911bc4d5d30fa080b4e47b4fbff3a9ad/entity_generation/smurf/src/smurf.cpp#L988