It seems like CMake supports both of these out of the box:
https://github.com/Kitware/CMake/blob/master/Modules/Platfor... https://github.com/Kitware/CMake/blob/master/Modules/Compile...
https://github.com/Kitware/CMake/blob/master/Modules/Platfor... https://github.com/Kitware/CMake/blob/master/Modules/Compile...
No comments yet.