[Qt-creator] how to change build step from 'make' into 'make install'
Theo de Vries
t.j.a.devries at gmail.com
Sat May 21 15:05:49 CEST 2011
2011/5/20 Christian Kandeler <christian.kandeler at nokia.com>
> On Fri, 2011-05-20 at 14:30 +0000, ext Campbell Barton wrote:
> > adding install as an argument works, but installing *every* time is
> > also overkill (in my case at least its only needed after updating the
> > source tree).
> >
> > For MSVC and XCode cmake generated project files there is an install
> > target you can build from the IDE.
> >
> > QtCreators cmake project loaded gives a bunch of targets in the
> > projects make options but 'install' isn't one of them, and I cant find
> > a way to build anything besides "all" & "clean" - without editing the
> > configuration each time at least.
> >
> > Since "clean" is a hard coded make target, why not make "install" hard
> > coded as well?,
> > ...that or better support for cmake files to read the generated
> > targets and allow some access from the UI but this is more work I
> > expect.
>
> Isn't a deploy step exactly what you need?
>
>
> Christian
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator
>
Thanks Jing, Campbell and Christian, you helped me to get further.
I hard-coded in the source of QtCreator that it generates a deployment step
that does "make install" and this works as desired. It allows to select
targets, but somehow this still does not exactly what it is supposed to do.
Anyway, for now, the result is nice. I will share the modification via
gitorious, after cleaning up.
What remains to be done is to make a run configuration that uses the
installed executables.
Cheers, Theo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20110521/6e054c5f/attachment.html
More information about the Qt-creator-old
mailing list