<div dir="ltr">On Sun, Oct 12, 2008 at 11:47 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 12.10.08 22:43:20, Aleix wrote:<br>
> On Sun, Oct 12, 2008 at 9:24 PM, Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:<br>
> > On 12.10.08 21:04:31, Aleix wrote:<br>
> > > As for what we have now, the a run-target has an executable, arguments<br>
> > and<br>
> > > some other options like that, but nothing that links to the ProjectModel,<br>
> > > that's why I proposed the BuildSet to be executed, because it is supposed<br>
> > to<br>
> > > be the files that the user want to have compiled all the time.<br>
> > ><br>
> > > The other option would be to have 2 cases: the case where we're executing<br>
> > a<br>
> > > project target where we could specify it to be compiled and the case of<br>
> > > something else.<br>
> ><br>
> > Ok, thanks now I understand you a lot better. Hmm, I want to be able to<br>
> > right-click a target in the project model and say "run", which should<br>
> > create a target that builds that item before running it of course. But also<br>
> > we need support for specifying any executable and just run it...<br>
> ><br>
> > The only thing I'm not sure about right now is how the GUI to select<br>
> > between executable and target should be and how to select targets from the<br>
> > project model. Things that would be cool<br>
> ><br>
> > - choosing a target fills in the 'executable' line with the built or<br>
> >  installed version of that target, but disables editing of it<br>
><br>
> Agree, this would be cool.<br>
<br>
</div>s/would be cool/is a must have :) Not necessarily for 4.0 though.<br>
<div class="Ih2E3d"><br>
> > - somehow switch to "executable" mode, which disables choosing a target<br>
> > - show a tree of dirs+targets for choosing a target<br>
> > - for target-mode choose what to do before running it (build, install,<br>
> >  install as root, none of that)<br>
><br>
> Why don't we take advantage of the buildsets? How do buildsets fit in this<br>
> idea?<br>
<br>
</div>What are you thinking of? Adding the target to the buildsystem? Might not<br>
be good, think about developing KDevelop. You're working on shell in the<br>
runcontroller, but to test you want to run kdevelop. So adding kdevelop<br>
target to the buildset is not useful. In fact maybe we need something more<br>
extensive:<br>
<br>
- be able to either directly put a url for an executable to run</blockquote><div>Ok <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
- choose a runnable target from the project tree as target to run</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
- define a list of dependent targets/dirs/files from the project tree that<br>
  should be built before running this target - no matter wether we used a<br>
  project-item target or just a plain executable</blockquote><div> </div><div>So your idea is to have  a buildset for every run-target?<br>It would be interesting to have these project-wise targets in the project configuratiion as volodya suggested in another thread too.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Yeah I think thats what we should have. That way I can work on my<br>
kdevplatform plugin and have KDevelop build it before running kdevelop.<br>
Plus I don't need kdevelop open as project necessarily, because I can just<br>
use the installed app. This is something developers of "external" plugins<br>
are going to like, think about plasma devs writing their plugin and just<br>
executing a script which re-starts plasma so it finds the new plugin and<br>
loads it.</blockquote><div>Agree, but it might not be a good idea to have too complicated targets to setup i think. <br><br>I'll try to come up with smth today, ok?<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Do I make sense?<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You have a strong appeal for members of your own sex.<br>
</font><div><div></div><div class="Wj3C7c"><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>
</div></div></blockquote></div><br></div>