How to add -fpermissive option to kdevelop?

varan picture varan · Mar 5, 2013 · Viewed 8.1k times · Source

How to add -fpermissive option in KDevelop IDE?

And -std=c++0x option too

Answer

arrowd picture arrowd · Mar 5, 2013

Click Open configuration and add your flags to CMAKE_CXX_FLAGS var.

If you want these flags to be set for anyone building your source, you can set(CMAKE_CXX_FLAGS "-fpermissive -std=c++0x") in CMakeLists.txt.