X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=MyL859KbNmOA4f5H go/ajIErot+xbkdpmC5q67Dk0E7T0JhrEDLN+AberjdljDqfPiGyWrhJ+7yaNJz8 XmEri9dXH1t0CfdIEO5vg6dmUomuC9uIppZ5HiGoeXFR2ccx5pz4NQdfKvQMeoiN W3SZSOs1Fp26chNjSxnJ3qGT8Jk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=/TLNfs9a5yRgez8NxI7quJ juN8o=; b=LJuFfXxw7FnanAMogk74IXRT/JEwqD973+AlJ1ytsQc6uodKg4MT5Z /xakJDCj/XxeQfKLSOA5yAvifVWsXSejhWiM9OXc5+gdPBBVT/JVmxHUoNKGxAzu BDR/xcrchZrXDyJ7t8x+0YETJDcpGu1YAGflXut3VdqG9ilooOeZI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Usage, H*i:sk:zNVRjzA, H*f:CAEhDDbCcH, H*i:CAEhDDbCcH X-HELO: mail-wm0-f44.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=pdwiVdR9tt8HmRZPHVKPlpnre7zfR/JtWYReeyNBauw=; b=RrTlCb+GRqAsSN+G3Zj2Su5GKE8t6W6UoQ9Scln1lRF76KwFyH0izLBft7X87+BvzF OVB4H/Q8PGihoqe+UT/2cyEB5n7t4YJCKf5dtnKLf3bym2O50CFPafjXQIZtPiXGi8uZ 06Yf+ORI7tN6C/DzYIk/xMltyVFwXi9OGSlusV9L+aWebJstxwBgTWdloxbJ7BLFfuR0 gmnvYwVJXAFe63g4TPU0CSlQ/7VU7FFkOYQQvQSkyrmT8677vJ7/oK70RiAF1R+Eg3AD G58fypf2JA6/EwWk3LXjWIrvbxVs2jCdvCq37+Ds103f3KnW9CroS/Megwlm8rJNAT0X bVxg== X-Gm-Message-State: ALyK8tKkc1RlwOeO9KyJp2WUdj07In1FTgC1eaMd94m3cjO1nBRd4usWlj0yhVeQ2V9lxw== X-Received: by 10.28.131.199 with SMTP id f190mr52146929wmd.30.1469613997339; Wed, 27 Jul 2016 03:06:37 -0700 (PDT) Subject: Re: problem building with cmake under cygwin (need clang) To: cygwin AT cygwin DOT com References: <5796B2A7 DOT 8060002 AT molconn DOT com> <57977D6D DOT 7050203 AT molconn DOT com> From: Marco Atzeri Message-ID: <321cb4dd-4e13-b321-a21e-b7257c4787b5@gmail.com> Date: Wed, 27 Jul 2016 12:06:24 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 27/07/2016 09:51, Csaba Raduly wrote: > On Tue, Jul 26, 2016 at 6:06 PM, Marco Atzeri wrote: >> >> Csaba was clear but it seems you are misunderstanding, >> the call to cmake is >> >> cmake [options] > > No, not but > > For quickhull, CMakeLists.txt is in the root of the project, the > sources are under the src directory. Csaba, you are 100 %right. I just copied the cmake help $ cmake --help |head -n 4 Usage cmake [options] cmake [options] where of course they consider CMakeLists.txt as part of the source and placed in the tree root. > Regardless of where the build is performed, the path in the cmake > invocation must point to the root of the project. Copying > CMakeLists.txt into ./src and pointing cmake to ./src is unlikely to > work. > > All of this is moot because the author of quickhull littered > CMakeLists.txt with clang-specific compiler switches. He made no > attempt to cater for the world's most widely used C++ compiler (GCC). I agree on that. He made the life hard for anyone to build his software. > > Csaba Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple