Archive for July, 2011

C++ Style

Tuesday, 12 July 2011

There are plenty of resources concerning C++ coding style, or coding style more generally.

Here I describe some of my own programming style preferences that I have not seen described elsewhere.

(more…)

BitRock Style: Miscellaneous Notes on Coding Style for BitRock InstallBuilder

Tuesday, 12 July 2011

Although BitRock InstallBuilder has a GUI, it is also practical to edit the sources, which are XML files, in an editor.

Beware that when you save the sources from the GUI, hand-edited files may be reorganised. For example, in many cases element siblings are rearranged into a sorted order. (Also beware that hand-edited files are not automatically re-loaded by the GUI; you must do this explicitly.)

Here I make some suggestions for trying to keep BitRock sources readable.

(more…)

BitRock Tip: Determination of Architecture + Platform

Tuesday, 12 July 2011

In BitRock InstallBuilder, defining folders specific to 32-bit and/or 64-bit architectures and Linux and/or Windows is simple but not entirely obvious. Here are some recipes.

(more…)