automake
[Top][All Lists]
Advanced

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

Re: Defining an arbitary value for one output only


From: Ralf Corsepius
Subject: Re: Defining an arbitary value for one output only
Date: 03 Jun 2002 18:54:09 +0200

Am Mon, 2002-06-03 um 16.27 schrieb Alexandre Duret-Lutz:
> >>> "Ralf" == Ralf Corsepius <address@hidden> writes:
> 
>  Ralf> Am Mon, 2002-06-03 um 05.06 schrieb Ganesan R:
> [...]
>  >> >> > I would like to be able to define a value such as WITHWX (i.e.
>  >> >> > -DWITHWX=1) for the ui target only. 
> [...]
>  >> > Ahh, this is c++, and I have tried ui_CPPFLAGS...
>  >> 
>  >> You should use ui_CXXFLAGS then. CPPFLAGS is flags to pass to the
>  >> pre-processor.
>  Ralf> -D flags are pre-processor flags, so CPPFLAGS is appropriate.
> 
> Unfortunately Automake doesn't support per-target _CPPFLAGS.
Oops, you're right, I missed that aspect of the question.

Anyway, any plans to implement per-target _CPPFLAGS? 

I am inclined to think this might be what many people asking for
per-target CFLAGS actually are looking for ("How to compile a source
file several times using different defines").

Ralf





reply via email to

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