Merge pull request #13 from smspillaz/cmake-determine-header-language.item_11

Support Windows and Code Coverage generation
Use source file generation functions in cmake-unit
Merge pull request #14 from smspillaz/cmake-determine-header-language.item_12

Use source file generation functions in cmake-unit
Don't repeat conditions in endif, endfunction, endmacro etc

Use cmakelint to check for this