pgadmin and cmake

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgadmin and cmake
Дата
Msg-id 48D3A3EB.9070503@hagander.net
обсуждение исходный текст
Ответы Re: pgadmin and cmake
Список 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 по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by mha: r7484 - in trunk/pgadmin3: . branding docs pgadmin xtra xtra/pgscript
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r7485 - trunk/pgadmin3/pgadmin/ui