|
|
@@ -235,6 +235,8 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS}
|
|
|
endif()
|
|
|
set(id_dir ${CMAKE_${lang}_COMPILER_ID_DIR})
|
|
|
set(id_src "${src}")
|
|
|
+ set(id_compile "ClCompile")
|
|
|
+ set(id_PostBuildEvent_Command "for %%i in (${id_cl}) do %40echo CMAKE_${lang}_COMPILER=%%~$PATH:i")
|
|
|
configure_file(${CMAKE_ROOT}/Modules/CompilerId/VS-${v}.${ext}.in
|
|
|
${id_dir}/CompilerId${lang}.${ext} @ONLY)
|
|
|
if(CMAKE_VS_MSBUILD_COMMAND AND NOT lang STREQUAL "Fortran")
|