Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add -fpermissive option to kdevelop?

How to add -fpermissive option in KDevelop IDE?

And -std=c++0x option too

like image 546
varan Avatar asked Mar 05 '13 16:03

varan


1 Answers

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.

like image 185
arrowd Avatar answered Nov 11 '22 20:11

arrowd