Here is a set of patches for improving CMake usage. They're currently split out since some might not be wanted (one bumps the minimum version to 2.8.7, some cosmetic things, and another for warning-less 2.8.12+ support). Once the patches are accepted, I'll make them into proper patch submissions (optionally squashed).
Created attachment 227243 [details] Fixes warnings when using 3.0 (currently in the rc stage)
Created attachment 227244 [details] Removes a performance-costly string(REGEX REPLACE) with string(REPLACE)
Created attachment 227245 [details] Other, less critical string(REGEX REPLACE) removals
Created attachment 227246 [details] Replacement of string(REGEX REPLACE) with file(RELATIVE_PATH)
Created attachment 227247 [details] Avoid usage of deprecated LOCATION property
Comment on attachment 227244 [details] Removes a performance-costly string(REGEX REPLACE) with string(REPLACE) View in context: https://bugs.webkit.org/attachment.cgi?id=227244&action=review > Source/cmake/WebKitMacros.cmake:196 > + string(REPLACE "/" "\\\\\\\\" _sourcegroup "${_path}") The backslashes may need to be halved since they're not going through a regex anymore. I don't have a setup which uses source_group at all, so this needs testing from someone with XCode or VS.