CMAKE_CXX_KNOWN_FEATURES seems to be empty in
cmake 3.1.0-rc2

Should it be?

cheers,
Erik Sjölund


erik@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@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@ubuntu:~/tmp$ cat /etc/issue
Ubuntu 14.10 \n \l
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to