This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Default C++ profile

Tags: None
(comma "," separated)
User avatar
VictorL
Registered Member
Posts
14
Karma
0
OS

Default C++ profile

Tue Nov 05, 2019 9:46 am
Hello,

How can I change the default C++ profile applied when I import a CMake project ? I have to change the C++ profile every time I import a new project.
I am using KDevelop 5.4.3 and it defaults to C++99 while I'm using C++14 or sometimes C++17 features.

My CMakeLists.txt specifies the C++ standard I'm using; it would be nice that KDevelop uses this information to change the C++ profile !

Code: Select all
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

Thanks !
User avatar
Gallaecio
KDE Developer
Posts
116
Karma
0
OS

Re: Default C++ profile

Sat Nov 16, 2019 7:52 pm
Have you considered opening a feature request?


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell