-
|
Based on good practice of usage auto-generated source files in VCS should store only sources ("input" to generate some auto-generated entities), therefore auto-generated sources should not added under VCS control. To avoid this, we must also generate a Most convenient way to do this required to add new variable to In this case we can place I think this is the easiest way to achieve goal: auto-generated files cannot accidentally add under VCS control. would be great to automaticaly add informative header to all auto-generated entities as comment: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Agree.
Debatable. Another good practice is to avoid any in-source file generation, so generated files are not mixed with the sources. That way you do not need precise gitignore to filter out artifacts. Anyway, for Corsair 2.0 I want to force out-of-source generation making default behaviour such that all output goes to some "corsair-out" directory. As for your proposal, it would be also easy to put |
Beta Was this translation helpful? Give feedback.
-
|
In corsair v2.x gitignore for all files is automatically added to a build directory |
Beta Was this translation helpful? Give feedback.
In corsair v2.x gitignore for all files is automatically added to a build directory