[CMake] [PATCH] add property to query current definitions

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jun 30 15:54:23 EDT 2005


Hi,

there is ADD_DEFINITIONS() and REMOVE_DEFINITIONS().
Now I'd like to do some magic in my CMakeLists.txt depending on which
definitions are set. To do this I need a way to query the current
definitions. AFAIK there is currently no way to do this, at least I didn't
find one.
Attached is a patch which implements this as an additional property for
GET_DIRECTORY_PROPERTY().

How about applying ?

Bye
Alex

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmGetDirectoryPropertyCommand.patch
Type: application/octet-stream
Size: 1533 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20050630/1a83b4e5/cmGetDirectoryPropertyCommand.obj


More information about the CMake mailing list