adding cmake option for building examples

Change-Id: Ib0408ba7917d2b759e5f09480e6fbc2a826a073f
converted language specific add test macros into functions

Change-Id: I5b8b243f8f5cb89f746b609ee161a0ecb69e96a3
Only adding language specific example if build examples is enabled

Change-Id: I846abf1624ef6b7792deb5c643637a4483f20b16
Merge topic 'SIMPLEITK-410_UseOptionBUILD_EXAMPLES' into next

57739dc Only adding language specific example if build examples is enabled
360b050 converted language specific add test macros into functions
69bedc0 adding cmake option for building examples