unwanted added compiler arguments

René J.V. Bertin rjvbertin at gmail.com
Mon Oct 30 13:06:46 GMT 2017

On Monday October 30 2017 13:48:24 Aleix Pol wrote:

>It seems logical to me that c++14 is passed if you specify

My thoughts exactly.

CMake has a habit of appending its arguments after any you set yourself, unless you target the appropriate variables for the build type you've chosen.
Or unless you select a custom build type, like Debian and Ubuntu do (or used to do? CMAKE_BUILD_TYPE=Debian). But I guess that even in that case arguments to come from settings like the one above will get appended (and that would actually make sense).


More information about the KDevelop mailing list