[CMake] empty CMAKE_CXX_KNOWN_FEATURES in cmake 3.1.0-rc2

Erik Sjölund erik.sjolund at gmail.com
Thu Nov 20 08:56:35 EST 2014


CMAKE_CXX_KNOWN_FEATURES seems to be empty in
cmake 3.1.0-rc2

Should it be?

cheers,
Erik Sjölund


erik at ubuntu:~/tmp$ cat CMakeLists.txt
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
project(foobar CXX)
list(LENGTH CMAKE_CXX_KNOWN_FEATURES length1)
message("length of CMAKE_CXX_KNOWN_FEATURES=${length1}")
list(LENGTH CMAKE_CXX_COMPILE_FEATURES length2)
message("length of CMAKE_CXX_COMPILE_FEATURES=${length2}")
erik at ubuntu:~/tmp$ ../cmake-3.1.0-rc2-Linux-i386/bin/cmake .
length of CMAKE_CXX_KNOWN_FEATURES=0
length of CMAKE_CXX_COMPILE_FEATURES=54
-- Configuring done
-- Generating done
-- Build files have been written to: /home/esjolund/tmp
erik at ubuntu:~/tmp$ cat /etc/issue
Ubuntu 14.10 \n \l


More information about the CMake mailing list