In the current macros, new types are created in UnitTypes' namespace but this breaks precompilation:
ERROR: LoadError: Evaluation into the closed module `UnitTypes` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other
module mutating `UnitTypes` with `eval` during precompilation - don't do this.
...
in expression starting at W:\mechgits\julia\Geometry2D_public\src\Spiral2D.jl:18
...
@makeBaseMeasure Pitch MeterPerRev "m/rev"