I was working with CMake. I have seen many CMake files and found there is a different release flag value set.
In one file I found: set(CMAKE_CXX_FLAGS_RELEASE "-O3")
In another: set(CMAKE_CXX_FLAGS_RELEASE "-O2")
and in other I found: set(CMAKE_CXX_FLAGS_RELEASE "-O1")
Please let me know what is the exact difference between these flags values? Can I use any one?