[CMake] 'No known features for CXX compiler' warning with custom Clang

Robert Maynard robert.maynard at kitware.com
Mon Dec 19 14:50:30 EST 2016


Are you able to send me the CMakeError.log and CMakeOutput.log from
your build/CMakeFiles/ directory.

On Mon, Dec 19, 2016 at 4:51 AM, James Turner <james.turner at kdab.com> wrote:
>
>> On 16 Dec 2016, at 22:59, Robert Maynard <robert.maynard at kitware.com> wrote:
>>
>> That is odd. Inside your build/CMakeFiles should be a file called
>> feature_tests.cxx, and that file is how we determine what features the
>> clang compiler supports.
>>
>> I would use that to determine why feature detection is failing, since
>> currently it believes that none of the features listed in it are
>> valid.
>>
>> Now if the file is empty, that means we are looking at a CMake logic
>> bug somewhere before this.
>
> In my case there is no feature_tests.cxx generated at all.
>
> Kind regards,
> James
>
> --
> James Turner - Senior Software Developer
> KDAB - The Qt, C++ and OpenGL Experts
>
>
>
>


More information about the CMake mailing list