pgadmin and cmake - Mailing list pgadmin-hackers

From Magnus Hagander
Subject pgadmin and cmake
Date
Msg-id 48D3A3EB.9070503@hagander.net
Whole thread Raw
Responses Re: pgadmin and cmake  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
Guys,

I've just committed initial support for building pgadmin using cmake
instead of autoconf/autotools. Amongst other things, this leaves us with
*one* build system, on both Unix and Windows.

For now, the old system stays in there completely untouched, until we
can prove that this works on all platforms. Obviously it won't do that
from the start - at least I don't expect it to.

So please - get the latest svn trunk and try to build it with cmake on
your platform, let us  know how that works, and we'll try to get this
going :-)


A super-quick primer to get going. First of all, cmake "prefers"
building outside the source directory, so here's a typical way to do it
(assuming your pgadmin directory is "pgadmin3"):

mkdir ../pgadmin3-build
cd ../pgadmin3-build
cmake -D CMAKE_INSTALL_PREFIX=/tmp/pgadmin_test_install ../pgadmin3
make


On unix, the "cmake" command will generate a set of subdirs in the build
directory, along with standard Makefiles and rules.

So - please get this, and test it on as many platforms as possible, and
report back!

//Magnus

pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by mha: r7484 - in trunk/pgadmin3: . branding docs pgadmin xtra xtra/pgscript
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r7485 - trunk/pgadmin3/pgadmin/ui