mingw-cross-env-list
[Top][All Lists]
Advanced

[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
---<<(())>>---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]