Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How to add -fpermissive option in KDevelop IDE?
And -std=c++0x option too
单击打开配置并将您的标志添加到CMAKE_CXX_FLAGSvar。
CMAKE_CXX_FLAGS
如果您希望为构建您的源代码的任何人设置这些标志,您可以set(CMAKE_CXX_FLAGS "-fpermissive -std=c++0x")在CMakeLists.txt.
set(CMAKE_CXX_FLAGS "-fpermissive -std=c++0x")
CMakeLists.txt