Single-sourcing

Single-sourcing is the process of creating a single source file that can be used to generate multiple output files. This is usually done by using a preprocessor to conditionally compile code based on a set of defined parameters. Single-sourcing can be used to create different versions of a software program, or to create different outputs … Read more