Friday, 2 December 2011

Windows Embedded Compact: Speeding up the build

Hi folks,

you probably all had the painful experience of waiting about 30 minutes while your Platform Builder performs a builddemo –q. Obviously you don’t have to perform a complete build each time but sometimes it is simply necessary.

One way to speed up the build is to utilize the multiprocessor build. But if you do, be careful to use synchronization macros (such as SYNCHONIZE_DRAIN) where needed and only where needed as theses macros will completely stall the build process until synchronization is completed.

Enabling multiprocessor build is very simple: form the Platform Builder Tools menu choose Options… The options for Multiprocessor Build can be found directly under Platform Builder for CE:

Have fun!

No comments: