[CMake] Clang not using C++11 on Linux

2015-01-17 Thread Robert Dailey
I'm running a custom built CMake 3.1 on Ubuntu Server 12. I have Clang 3.4 installed. At the top of my root CMakeLists.txt, I have enabled C++11 like so: cmake_minimum_required( VERSION 3.1 ) if( UNIX ) set( CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++" ) endif() project( FrontEnd ) However whe

[CMake] List of compile features from command line?

2015-01-17 Thread Robert Dailey
Can I use cmake to spit out a list of supported compile features based on my already-configured project? I'm not sure how I'm expected to get the list of features otherwise. The documentation does not explain this. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake F

Re: [CMake] VS2012 builds using v3.1.0 are a lot slower than v2.8.12

2015-01-17 Thread Yves Frederix
Hi, I also tested with the build of an 'open' project (the crypto example was part of a work-related project). The results below are for the compilation of OpenCV (latest git from https://github.com/itseez/opencv), again with VS2012 Win64, Release only and no tweaking of the CMake settings. 3.1.0