Author: akhaldi Date: Fri Aug 5 14:48:47 2011 New Revision: 53084
URL: http://svn.reactos.org/svn/reactos?rev=53084&view=rev Log: [CMAKE] * Force cl as the C/C++ Compiler when we detect the WDK environment. * Buildbot can now have PCH support back.
Modified: trunk/reactos/cmake/Platform/Windows-cl.cmake
Modified: trunk/reactos/cmake/Platform/Windows-cl.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/Platform/Windows-cl.c... ============================================================================== --- trunk/reactos/cmake/Platform/Windows-cl.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/Platform/Windows-cl.cmake [iso-8859-1] Fri Aug 5 14:48:47 2011 @@ -30,6 +30,11 @@ set(ARCH i386) endif() endif() + + # Force C/C++ Compilers + include(CMakeForceCompiler) + CMAKE_FORCE_C_COMPILER(cl MSVC) + CMAKE_FORCE_CXX_COMPILER(cl MSVC)
# Add library directories STRING(REPLACE * ${ARCH} ATL_LIB_PATH $ENV{ATL_LIB_PATH})