cmollekopf created this revision. Herald added projects: Frameworks, Build System. Herald added subscribers: kde-buildsystem, kde-frameworks-devel. cmollekopf requested review of this revision.
REVISION SUMMARY clang-cl is an MSVC compatible frontend for clang, and as such takes MSVC style arguments. cmake still detects this as "Clang", but with a separate CMAKE_CXX_SIMULATE_ID set to "MSVC". This patch detects this case and makes sure that clang-cl ends up with the correct set of options. REPOSITORY R240 Extra CMake Modules BRANCH master REVISION DETAIL https://phabricator.kde.org/D20059 AFFECTED FILES kde-modules/KDECompilerSettings.cmake kde-modules/KDEFrameworkCompilerSettings.cmake To: cmollekopf Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns