[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] cmake build harness
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] cmake build harness
- From: Brodie Thiesfield <brofield2@xxxxxxxxxxxx>
- Date: Mon, 31 May 2010 20:42:30 +0900
- Cc: nickm@xxxxxxxxxxxxx
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Mon, 31 May 2010 07:48:10 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type; bh=lKUUlGwID+8OyzX/2FxX3S2KbjAlh6josMbbCYwnKLw=; b=x9ObrzmfyJkfqBrObzZGLGExURGkMiFMuWvFrNuGh4Pr+kj+SiQ5dqnS4Le5Ovh4HU z1cAMirWXFfFUkHkXInP99QI5T3/MxWuE3dlhO8lqK5KL2Rty8egRJc6KLtc1Yh3SNZh t6yLJlgbkuRaqA8Fxh9Pqz7zSzgztowu+6Lkg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :content-type; b=aFEDBdDx2EQu0z2ERjv9rpGzraDlnbYNRcZwQNXbXamvn/eUifZBjbLvmQSeT+iPPZ jKe5gAPEuIMp0JLacBrH7CarRF4GfYkUkF8IGogtC4a+cFqueAkmseEGckh7Wqz2sHXu Li7VB3UoSIyitwpa70fUDLaUWIBq5uSjR6BYw=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
Hi all,
I've updated the cmake build harness that Alexey Ozeritsky supplied, and
I've updated it to build the latest source both released and in git.
I've tested the build on both Windows (VC 2008) and Linux (gcc 4.4) and
apart from warnings it builds.
It now does full detection of header files, functions, symbols, etc on
all platforms. It also generates the RPC files from the source on
Windows (requires python to be installed). The regress test harness
runs, but there are a number of failures on both Windows and Linux.
This build harness is still a work in progress, but it shows promise. By
using cmake, the Visual Studio 2008 projects are generated automatically
(or makefiles on Linux).
This is also some changes required to the bench_cascade.c file in order
to have it compile on Windows.
Question:
Since all of the header files are now in include/event2/. wouldn't it be
better if the event-config.h header file was also generated into that
directory so that all libevent headers are always loaded from
<event2/foo.h>?
Regards,
Brodie
Attachment:
cmake-levent2.zip
Description: Zip compressed data