Maybe, since we have all this vertitas stuff, the correct thing to do would be to add the test targets found to veritas and just the non-tests to the launch configurations. Then we just should find some way to run the tests inside the debugger in case there is something to debug.<br>
<br><div class="gmail_quote">On Fri, Jul 24, 2009 at 7:00 AM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
On 24.07.09 11:58:32, Pau Garcia i Quiles wrote:<br>
> For CMake projects, KDevelop should automatically create a "launch<br>
> configuration" for each ADD_EXECUTABLE, KDE4_ADD_EXECUTABLE, etc found.<br>
> Currently, you need to create the launch configurations manually. QtCreator<br>
> creates them automatically, and it's very convenient.<br>
<br>
I've tried this and ended up with about 4 pages of menu item under the<br>
Launch Configurations submenu (due to all the unit-tests, probably would<br>
be even more for kdelibs or similar). Apart from that, its basically<br>
impossible to do this once we have more than 1 launch config type as<br>
then the runcontroller doesn't know which launch config type to use for<br>
the configs.<br>
<br>
One option would be to do this in the plugin that actually supplies the<br>
launch config type, i.e. the execute plugin. However that would mean<br>
making more of the shell implementation of launch configs public and<br>
accessible by plugins. Also the plugin also has no idea about which<br>
of the targets it should really create launch configs for.<br>
<br>
I don't think it makes sense to auto-add all executable targets when<br>
loading a project. David already had suggestions how to make it easier<br>
to execute targets from the project, I also thought about having a<br>
simple option "Execute this target" and "Debug this target" in the<br>
context menu's for targets.<br>
<br>
Opinions?<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
Your aim is high and to the right.<br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></div><br>