Improved portability of CMakelist.txt
Improved portability of CMakelist.txt

 - Using variables to handle os/compiler differences,
   thus removing if/else
 - Using ccpcheck predefined template gcc/vs

SRombauts/cpp-skeleton,SRombauts/cpp-skeleton