problem building with cmake under cygwin (need clang)

Csaba Raduly rcsaba@gmail.com
Wed Jul 27 07:52:00 GMT 2016


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



More information about the Cygwin mailing list