Skip to content

Tag Archives: cmake

Adding compiler flags to existing CMake flags.

17-Feb-14

I have been checking out various means to add compiler options while using the CMake build system. This was not so obvious to me when going through all the .cmake files in my huge project. So after searching a bit the following is the way to add custom compiler flags to cmake builds: