clang-c2 and c++14
When using clang-c2 (-T v140_clang_c2) with VS2015 Update 3, CMake 3.7.1 :
set(CMAKE_CXX_STANDARD 14)
will not set the c++14 flags (-std=c++14) while the compiler is recognized as clang :
The C compiler identification is Clang 3.8.0
The CXX compiler identification is Clang 3.8.0
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/ClangC2/bin/x86/clang.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/ClangC2/bin/x86/clang.exe -- works