Debug-Release

Andreas Pakulat apaku at gmx.de
Thu Dec 16 18:30:45 GMT 2010


On 16.12.10 19:14:33, Valentin Pavlyuchenko wrote:
> 2010/12/16 Kishore <kitts.mailinglists at gmail.com>:
> > On Thursday 16 Dec 2010 7:25:27 pm Leon Pollak wrote:
> >> Hello, all.
> >>
> >> Although this is VERY basic simple question, I did not find an answer...:-(
> >> I am in kdevelop4.1. how do I:
> >>
> >> 1. Switch between debug and release modes?
> >> (There is "open configuration" dialog, but how it works - not clear).
> >> In kdev3 there was VERY(!!) comfortable way - Project->Build Configuration->
> >> Debug/Optimized/Default.
> >>
> >> 2. How do I define mode specific parameters? For example, in kdev3 I had 2
> >> sets of options and 2 defines -DDEBUG / -DOPT. How can I do this in kdev4?
> >>
> >> A lot of thanks ahead.
> >>
> > Which build system are you using? Cmake support in kdevelop allows you to setup multiple directories and you could switch between them. Or you could edit the CMAKE_BUILD_TYPE for the same build dir.
> 
> Btw, it would be good from the usability point of view to be able to
> quickly switch between configurations (like combobox on the toolbar in
> MSVS).

Yes there needs to be an easy way to switch the build directory, but no
a toolbar combobox doesn't work. One can have multiple projects and you
need to be able to switch the builddir for each one. So it needs to be
obvious that a the switch is for a specific project, hence the gui
should be close to the project itself in the project tree.

Andreas

-- 
It's all in the mind, ya know.




More information about the KDevelop mailing list