[cairo] CMake

Behdad Esfahbod behdad at behdad.org
Thu May 1 18:47:55 PDT 2008


On Thu, 2008-05-01 at 21:11 -0400, Jason G wrote:
> 
> Second, it gives the user more customization with respect to library
> locations on the filesystem.  Instead of trying to look for a library
> in a few locations or using an environment variable, with cmake you
> can let the user specify directories for libraries.  Many users will
> probably just put /usr/include and /usr/lib or /usr/local/... , but if
> you want to test different versions of a dependency or you use windows
> or something like that, you can specify the directories of your
> library files for each project.  This is what I tried to do with my
> cmake script.  I've found this useful for comparing how the SVN
> version of a library compares to the latest ubuntu version.

You should be joking.  Hardcoding dependency directories in your build
script is an advantage?  Really?  And you can't do that with
autotools?  

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the cairo mailing list