On Tue, Jun 16, 2020 at 6:30 AM Iñaki Ucar <iu...@fedoraproject.org> wrote:
>
> On Tue, 16 Jun 2020 at 03:09, Neal Gompa <ngomp...@gmail.com> wrote:
> >
> > On Mon, Jun 15, 2020 at 8:22 PM Kevin Kofler <kevin.kof...@chello.at> wrote:
> > >
> > > How does this affect the many packages that already build in a separate
> > > build folder manually? There are even several specfile templates that
> > > contain the boilerplate for that.
> > >
> >
> > If they build a separate folder manually and are already using the
> > VPATH macros, then there's no change. If they're using a different
> > structure, we can adapt them to the standard VPATH macros, and do
> > other adjustments as needed.
>
> What if you need several builds with several flags? E.g., something like
>
> %build
> %cmake -B flag1 -DFLAG=1
> %make_build -C flag1
> %cmake -B flag2 -DFLAG=2
> %make_build -C flag2
>
> %install
> %make_install -C flag1
> %make_install -C flag2
>

That still works, CMake processes the _last_ -B set, just like Meson.
So if you redefine it later, then everything still works.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to