[CMake] Resolution of dependencies for Subversion

Tyler Roscoe tyler at cryptio.net
Mon Sep 21 17:31:24 EDT 2009


On Mon, Sep 21, 2009 at 08:15:47PM +0200, SF Markus Elfring wrote:
> A configuration script on my Linux system contains the following information.
> # $Id: FindSubversion.cmake,v 1.2.2.3 2008-05-23 20:09:34 hoffman Exp $
> http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindSubversion.cmake?revision=1.4&root=CMake&view=markup

You mean that you have FindSubversion.cmake as part of your CMake
installation? Or something else?

> I have got the impression that there will not be any variables defined with the suffix "_INCLUDES" and "_LIBS". I would expect such names so that they can be used for the commands "INCLUDE_DIRECTORIES" and "LINK_DIRECTORIES".
> http://cmake.org/cmake/help/cmake2.6docs.html#command:include_directories

I don't see any variables defined with those names in the module you
linked above. What is the question here?

> Subversion has got additional software dependencies like it is described in the document "Using the APIs - Chapter 8. Developer Information". I have also got some problems to get the commands "FIND_PACKAGE(APR REQUIRED)" and "FIND_PACKAGE(APRUtil 1.3 REQUIRED)" to work so that the Apache Portable Runtime library can be used as expected.
> 
> Do any scripts need further improvements and fine-tuning?

Now I'm really confused. Are you trying to use CMake to build a
Subversion addon of some sort?

If so, I don't think that's what FindSubversion is for. It looks like
FindSubversion is for running the svn executable during builds in a
CMake-friendly way.

tyler


More information about the CMake mailing list