[CMake] Variable Propagation

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jun 21 14:56:11 EDT 2010


On Monday 14 June 2010, Tyler Roscoe wrote:
> On Mon, Jun 14, 2010 at 01:40:38PM +0200, Aeschbacher, Fabrice wrote:
> > > > I need to provide easy adding for source files to the developers,
> > > > So it would be nice to just have a CMakelists.txt in every
> > >
> > > subfolder,
> > >
> > > > which then edits the source-variable.
> > >
> > > Also consider to use properties for such a purpose.
> >
> > Which property do you actually think about?
>
> You can set arbitrary properties (MY_MAGIC_PROPERTY) and query them
> later. I think this is what Michael meant.

... must be a GLOBAL property.

Alex


More information about the CMake mailing list