Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33DBF10962 for ; Tue, 19 Nov 2013 12:30:48 +0000 (UTC) Received: (qmail 93271 invoked by uid 500); 19 Nov 2013 12:30:44 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 93172 invoked by uid 500); 19 Nov 2013 12:30:38 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 93157 invoked by uid 99); 19 Nov 2013 12:30:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Nov 2013 12:30:37 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=HTML_MESSAGE,MISSING_HEADERS,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of trawick@gmail.com designates 209.85.217.177 as permitted sender) Received: from [209.85.217.177] (HELO mail-lb0-f177.google.com) (209.85.217.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Nov 2013 12:30:31 +0000 Received: by mail-lb0-f177.google.com with SMTP id w7so2158566lbi.8 for ; Tue, 19 Nov 2013 04:30:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=GeU1R4QFNDOUZm/xi5M1GwEhgfTDIhgZow38xp0kWFg=; b=enA4Y+SODQCZQQoDusY3YC8Ohx8PHmq+DEPBlunTtijRayMyYhoYg8mbUzc+heHf7P EKK42d5jM2uq/9/zaBa9red0/CsK3tMYvry31J+b3waWO7/3qWLjVtS12HOFT4yPOGRl o7H8+NZ/4xcdjCIbcT4sYq68sQO4cQ2QN3A0GStszBlmmNYEtl1LR0hxvZWHpbFTca01 MgPiHtWtjj9k4LyUouD8zdLE6URdNojW0rmJpabdfGVam5dTWPVN3iAtA4ApeZJJU8wa DwnLoXCBBzk6b15RAFvdLH5grn5v/N+uVFvfzfpcPJVvbBClKRAFpcTD2L8l3D5u8oRs CqpQ== MIME-Version: 1.0 X-Received: by 10.112.13.72 with SMTP id f8mr894508lbc.40.1384864210673; Tue, 19 Nov 2013 04:30:10 -0800 (PST) Received: by 10.114.183.226 with HTTP; Tue, 19 Nov 2013 04:30:10 -0800 (PST) In-Reply-To: <009e01cee50f$f8c037e0$ea40a7a0$@qqmail.nl> References: <009e01cee50f$f8c037e0$ea40a7a0$@qqmail.nl> Date: Tue, 19 Nov 2013 07:30:10 -0500 Message-ID: Subject: Re: Error compiling apr_crypto_openssl using cmake From: Jeff Trawick Cc: APR Developer List Content-Type: multipart/alternative; boundary=001a11c3ee6a56e6f204eb86d3ed X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3ee6a56e6f204eb86d3ed Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 19, 2013 at 5:13 AM, Bert Huijben wrote: > Hi, > > Continuing my work to switch my build chain to cmake for apr, apr-util and > httpd I now found the same problem in the optional components of apr-util > that was just fixed in httpd in r1543149: some defines are not quoted > correctly to the resource compiler when invoked from Visual Studio project > files. > Thanks! > > Can somebody apply the attached patch to apr-util 1.5.x? > I actually made the simpler change of removing the extra quotes altogether. (Perhaps I had based those rc definitions on earlier code in httpd which had symbols with blanks?) This works for me with VS 2010 and nmake generators. apr trunk: r1543399 apr-util 1.5.x: r1543401 > [[ > * CMakeLists.txt > (DEFINE_WITH_BLANKS): New macro. > (apr_crypto_openssl, > apr_dbd_odbc, > apr_ldap): Use DEFINE_WITH_BLANKS to properly generate Visual Studio > 2005-2013 project files. > ]] > > DEFINE_WITH_BLANKS was copied from trawick's patch on httpd. > > Thanks, > Bert > -- Born in Roswell... married an alien... http://emptyhammock.com/ --001a11c3ee6a56e6f204eb86d3ed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Nov 19, 2013 at 5:13 AM, Bert Huijben <bert@qqmail.n= l> wrote:
=A0 =A0 =A0 =A0 Hi,

Continuing my work to switch my build chain to cmake for apr, apr-util and<= br> httpd I now found the same problem in the optional components of apr-util that was just fixed in httpd in r1543149: some defines are not quoted
correctly to the resource compiler when invoked from Visual Studio project<= br> files.

Thanks!
=A0

Can somebody apply the attached patch to apr-util 1.5.x?

I actually made the simpler change of removing the extra = quotes altogether. =A0(Perhaps I had based those rc definitions on earlier = code in httpd which had symbols with blanks?) =A0 This works for me with VS= 2010 and nmake generators.

apr trunk: r1543399
apr-util 1.5.x: r1543401<= /div>


[[
* CMakeLists.txt
=A0 =A0(DEFINE_WITH_BLANKS): New macro.
=A0 =A0(apr_crypto_openssl,
=A0 =A0 apr_dbd_odbc,
=A0 =A0 apr_ldap): Use DEFINE_WITH_BLANKS to properly generate Visual Studi= o
=A0 =A0 =A0 =A0 2005-2013 project files.
]]

DEFINE_WITH_BLANKS was copied from trawick's patch on httpd.

Thanks,
=A0 =A0 =A0 =A0 Bert



--
Born in Rosw= ell... married an alien...
http://emptyhammock.com/
--001a11c3ee6a56e6f204eb86d3ed--