Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A cross-platform
support middleware is a software abstraction layer that guarantees the
existence, and correct implementation, of a set of services on top a set
of platforms. The abstraction method in the CPSM development is the
method used to compile the concrete source code for a given platform
without compromising the abstract interfaces provided. The most commonly
used abstraction methods in CPSM development are: conditional
compilation and directory separation of sources. The first method
consists in embedding preprocessor instructions in the source code to
conditionally select the source subtree compatible with a given
platform.