1. A method for conditionally pre-processing a single code set to determine platform-specific portions of the code set to execute in a corresponding platform, the method comprising: determining, by one or more servers, a host platform comprising the platform in which an application is to be executed, the application comprising a single code set comprising a first plurality of portions compatible with execution on the host platform and a remaining portion of the single code set that is incompatible with execution on the host platform; pre-processing the single code set to identify the first plurality of portions of the code set that are compatible with execution on the host platform; and compiling the single code set in a compiler, wherein the compiler compiles the first plurality of portions of the single code set and disregards the remaining portion of the single code set during compilation, wherein, the method is performed by the one or more servers operating a plurality of platforms in a plurality of logical partitions.