Description:
I am using cmake-gui
on Ubuntu to compile programs.
I often encountered warning messages for developpers ending by:
This warning is for project developers. Use -Wno-dev to suppress it.
I tried to insert this -Wno-dev
flag in the CMAKE_CXX_FLAGS
box but it doesn't suppress the warnings.
Questions:
I have now two very simple questions:
1) Where exactly should I insert this flag?
2) How to separate it from other existing flags (if any) ?