×
Namespaces

Variants
Actions

Preprocessing

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: wang_shui (24 Mar 2007)
Updated: hamishwillee (20 Jul 2012)
Last edited: hamishwillee (24 Jul 2013)

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.

This page was last modified on 24 July 2013, at 09:44.
54 page views in the last 30 days.
×