* Force cl as the C/C++ Compiler when we detect the WDK environment.
* Buildbot can now have PCH support back.

svn path=/trunk/; revision=53084
This commit is contained in:
Amine Khaldi 2011-08-05 14:48:47 +00:00
parent 9385a7847e
commit b1c97b02d8

View file

@ -31,6 +31,11 @@ if(CMAKE_USE_WDK_ENV)
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})
STRING(REPLACE * ${ARCH} CRT_LIB_PATH $ENV{CRT_LIB_PATH})