[CMake] ADD_DEFINITIONS with output from shell

Andreas Schneider mail at cynapses.org
Wed May 7 09:16:12 EDT 2008


David Cole wrote:
> See also:
> http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindSubversion.cmake?root=CMake&view=markup 
> <http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindSubversion.cmake?root=CMake&view=markup>
> 
> After a FIND_PACKAGE(Subversion) call, simply use the Subversion_WC_INFO 
> macro to retrieve an "svn info" call as a slew of CMake variables...
> 

Hi,

'svn info' is normally not what you want. 'svn info' doesn't recursively look 
for the latest revison. This is why 'svnversion' has been added.

> 
> HTH,
> David
> 

	-- andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080507/09523713/attachment.pgp>


More information about the CMake mailing list