X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=GOGlz8M
	L1xZ3cxKkZDQsJiP6E0ZG1VI8zuGIJraH+OxFoOvUBSOLfn3DWS4utISnZBdg+2z
	KinL+68loaNCWLPjzXKbYDEt8+2etlUsg0O+4LSW7I/raOHngSzGm4hu5c3/6ZbV
	zgc6T/fCUq/x19RfpDx0BM1z+bIwP+Bi4klg=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=VpzOUzRnk00a1
	auIfqiV6iT/tn4=; b=cPL1F8VKKkV/qMU6OkpLGE72lCEMsaHpy7H9nhx/H2Gbi
	h3CAsAeIrMpUFuvKZvC9ZiaWfEP1tAuoF9VX5QRqE7s3D2qqgRGrXZmvrp6kqbQi
	AKffVzoPK4tCd0oOHW6CxzQ9f55tpmchlCvr6hoHqG4Cc5NM+AmU5KE+JDOW5o=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=world's, path-to-source, pathtosource, HX-Received:Wed
X-HELO: mail-wm0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to;        bh=Cc6y+YOb64M1NNeRKT4mD+/UQhKhLbrS0YkdTkAEJNo=;        b=QxpEBsNtV3biiCVp/9CVJOQt46t7mliErTHykYQeMg6Xt0L6OPkpiu5yoRe6z43Uz1         NSHo/PqJfUyl3xrxE40u5xr+vmj2H13r2iXNHmZ2qADnNWxJ3lEJAUW1ec5dZYHlO8Qw         h4Sum9/IG2OX0KvCDUc7jq8f1/4hMZFVwSjM7fbIssd5+71exaavYHgl3jgx6MWn2DxM         jp3lryB4C/BAnHXbol5euSyEHN0gyAWzaEZOXxtiQjY5AQr023LNw8DTq+mYjWHt+KGh         734MaSyT+l0wKLkKUDH997rDpyRjnb58c3Hlxnol/zeTZPiOft86YVEZCwHQ1K8pMxDe         8IXA==
X-Gm-Message-State: AEkooutJWSYGgGMa7tOQ56i5q3v3ou37h5JvpEMITRdHTbdDdZmgQbWngz4RxYUKJE7MK0hcgNWyDX1fQIyS1A==
X-Received: by 10.194.221.232 with SMTP id qh8mr25729903wjc.117.1469605916497; Wed, 27 Jul 2016 00:51:56 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <a1fc6589-8803-0661-1afa-d29d782b55aa@gmail.com>
References: <5796B2A7.8060002@molconn.com> <CAEhDDbBsAGK69QyXLzjQu3JQSjD-vje6bhkzJPRo+poRzmrt4Q@mail.gmail.com> <57977D6D.7050203@molconn.com> <a1fc6589-8803-0661-1afa-d29d782b55aa@gmail.com>
From: Csaba Raduly <rcsaba@gmail.com>
Date: Wed, 27 Jul 2016 09:51:55 +0200
Message-ID: <CAEhDDbCcH=Dk=6LEKXbn5Ez-pJD-nBuJuSj0nYKp40+zNVRjzA@mail.gmail.com>
Subject: Re: problem building with cmake under cygwin (need clang)
To: cygwin list <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8

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] <path-to-source>

No, not <path-to-source> but <path-to-CMakeLists.txt>

For quickhull, CMakeLists.txt is in the root of the project, the
sources are under the src directory.

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).

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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

