• Brad King's avatar
    RC: Simplify selection of resource compiler based on C/C++ toolchain · 957c2aac
    Brad King authored
    Revert the refactoring by commit v2.8.11~105^2~1 (Ninja: use MinGW
    generator code in EnableLanguage, 2013-03-09) and move the MinGW-
    specific logic back to the "MinGW Makefiles" generator.  Instead teach
    the platform information modules for GNU and MSVC on Windows to set the
    preferred RC compiler just before enabling the RC language.  This way
    we choose the RC compiler based on the C/C++ toolchain that is actually
    enabled.
    957c2aac
cmGlobalGenerator.cxx 97.1 KB