Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 16, 2020 at 6:30 AM Iñaki Ucar <iucar@xxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, 16 Jun 2020 at 03:09, Neal Gompa <ngompa13@xxxxxxxxx> wrote:
> >
> > On Mon, Jun 15, 2020 at 8:22 PM Kevin Kofler <kevin.kofler@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux