This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem building with cmake under cygwin (need clang)

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

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

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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]