Preprocessing
Article Metadata
Article
Created: wang_shui
(24 Mar 2007)
Updated: hamishwillee
(20 Jul 2012)
Last edited: hamishwillee
(20 Jul 2012)
In programming languages, preprocessing is where source code is first parsed before being sent for processing by the rest of the build and compile toolchain. It is most commonly used to conditionally include parts of a program depending on the desired target.
For example, a preprocessor macro might be used to identify code related to the camera. The preprocessor would only include this code in builds for target devices that have a camera.

