Re: [AD] acodec build system

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2010-04-05, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> On Mon, Apr 5, 2010 at 8:09 PM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> >
> > We probably actually should use the COMPILE_DEFINITIONS property as some
> > compilers might not use -D syntax.
> >
> Attached is an update. Trying to set all of the defines at once
> resulted in -D"DEF1 DEF2 DEF3" for some reason...

Strange, this works here:

  set_property(TARGET ${nm} APPEND PROPERTY COMPILE_DEFINITIONS ${defines})

Looks fine though.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/