logo separator

[mkgmap-dev] conditional includes in style

From Thorsten Kukuk kukuk at suse.de on Thu Mar 27 07:19:45 GMT 2014

On Thu, Mar 27, Gerd Petermann wrote:

> Your proposition sounds like #ifdef / #endif in a c /c++ prepro combined with defines passed to the compiler.

This is what I'm doing with my style already. I use #ifdef/#endif
and before executing mkgmap I create a local copy of the style with
help of cpp.
I like that more, because I can check the resulting style and find
errors much easier then if I would need to guess what mkgmap is doing.

  Thorsten

-- 
Thorsten Kukuk, Senior Architect SLES & Common Code Base
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)


More information about the mkgmap-dev mailing list