[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Qt compilation options
From: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] Qt compilation options |
Date: |
Tue, 13 Aug 2013 14:44:37 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Tony Theodore schrieb:
> On 08/08/2013, at 7:12 PM, Volker Grabsch <address@hidden> wrote:
>
> > In hindsight, choosing GNU Make as the base "platform"
> > for MXE turned out to be lucky find.
>
> Indeed, I think it gets a bad reputation from autotools; also the way MXE is
> designed nicely avoids tab issues in src/*.mk. Make can even do recursive
> functions[1], so now I have an early working version of my long-awaited
> feature:
>
> make EXCLUDE_PKGS='glib ocaml% qt'
>
> to exclude packages and all their downstream dependents.
Looks good!
> [1]
> DDEP_PKGS = $(sort \
> $(foreach DEP_PKG,$(2),\
> $(if $(filter $(1),$($(DEP_PKG)_DEPS)),\
> $(DEP_PKG) $(call DDEP_PKGS,$(DEP_PKG),$(2)))))
>
> REXCLUDED_PKGS := $(sort $(filter $(EXCLUDE_PKGS),$(PKGS)) \
> $(call DDEP_PKGS,$(filter
> $(EXCLUDE_PKGS),$(PKGS)),$(PKGS)))
>
> all: $(filter-out $(REXCLUDED_PKGS),$(PKGS))
Feel free to add this to the core if you didn't
already do it.
Regards,
Volker
--
Volker Grabsch
---<<(())>>---
- Re: [Mingw-cross-env-list] Customising packages (was Qt compilation options), (continued)
- Re: [Mingw-cross-env-list] Customising packages (was Qt compilation options), Tony Theodore, 2013/08/10
- [Mingw-cross-env-list] Clearing env vars (was Qt compilation options), Tony Theodore, 2013/08/10
- Re: [Mingw-cross-env-list] Clearing env vars (was Qt compilation options), Tony Theodore, 2013/08/10
- Re: [Mingw-cross-env-list] Clearing env vars (was Qt compilation options), Tony Theodore, 2013/08/12
- Re: [Mingw-cross-env-list] Clearing env vars (was Qt compilation options), Volker Grabsch, 2013/08/13
- Re: [Mingw-cross-env-list] Qt compilation options, Tony Theodore, 2013/08/07
- Re: [Mingw-cross-env-list] Qt compilation options, Volker Grabsch, 2013/08/07
- Re: [Mingw-cross-env-list] Qt compilation options, Tony Theodore, 2013/08/08
- Re: [Mingw-cross-env-list] Qt compilation options, Volker Grabsch, 2013/08/08
- Re: [Mingw-cross-env-list] Qt compilation options, Tony Theodore, 2013/08/10
- Re: [Mingw-cross-env-list] Qt compilation options,
Volker Grabsch <=
- Re: [Mingw-cross-env-list] Excluding packages, and dependency info (was: Qt compilation options), Tony Theodore, 2013/08/20