options to run

Andreas Pakulat apaku at gmx.de
Sun Oct 12 19:24:27 UTC 2008


On 12.10.08 21:04:31, Aleix wrote:
> As for what we have now, the a run-target has an executable, arguments and
> some other options like that, but nothing that links to the ProjectModel,
> that's why I proposed the BuildSet to be executed, because it is supposed to
> be the files that the user want to have compiled all the time.
> 
> The other option would be to have 2 cases: the case where we're executing a
> project target where we could specify it to be compiled and the case of
> something else.

Ok, thanks now I understand you a lot better. Hmm, I want to be able to
right-click a target in the project model and say "run", which should
create a target that builds that item before running it of course. But also
we need support for specifying any executable and just run it... 

The only thing I'm not sure about right now is how the GUI to select
between executable and target should be and how to select targets from the
project model. Things that would be cool

- choosing a target fills in the 'executable' line with the built or
  installed version of that target, but disables editing of it
- somehow switch to "executable" mode, which disables choosing a target
- show a tree of dirs+targets for choosing a target
- for target-mode choose what to do before running it (build, install,
  install as root, none of that)

Andreas

-- 
You will live to see your grandchildren.




More information about the KDevelop-devel mailing list