Hi, I've been working a bit to get WebKit compiled on Windows using Clang and have been facing some issues with the project files it generates. My setup is VS 2015 Update 3 with the Clang with Microsoft CodeGen (v140_clang_c2).
I noticed that the values within the project property pages are incorrect after generation. As an example by default the toolchain in <LANG>_FLAGS is defining -fms-compatibility. Within the project the default is -fno-ms-compatibility. The value in Configuration Properties -> C/C++ -> Advanced -> Microsoft Compatibility Mode is set to No (-fno-ms-compatibility) not Yes (-fms-compatibility). Under Command Line in C/C++ the All Options contains -fno-ms-compatiblity while in the Additional Options the -fms-extensions is present. What I am wondering is if there is any way to describe to CMake the structure of the project file so that it can properly create the values. On IRC I got pointed at https://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmVS14CLFlagTable.h;h=5812e79e85d89a706306ea3f1eeac93ae0da72de;hb=refs/heads/master so it looks like things might just be hard coded. If so is there any work being done to more accurately create project files for different toolchains? Thanks!
-- 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-developers