Updated formatting of documentation plus a little reorganization.
[cmake.git] / Modules / Platform / Windows-Intel.cmake
blobe8939258268d775d0ad72915f2d16b0cee1a82e1
1 INCLUDE("${CMAKE_PLATFORM_ROOT_BIN}/CMakeIntelInformation.cmake" OPTIONAL)
3 IF(NOT _INTEL_XILINK_TEST_RUN)
4   EXECUTE_PROCESS(COMMAND xilink /? 
5     ERROR_VARIABLE _XILINK_ERR
6     OUTPUT_VARIABLE _XILINK_HELP)
7   IF(_XILINK_HELP MATCHES MANIFEST)
8     SET(_INTEL_COMPILER_SUPPORTS_MANIFEST 1)
9   ENDIF(_XILINK_HELP MATCHES MANIFEST)
10   IF(NOT  EXISTS "${CMAKE_PLATFORM_ROOT_BIN}/CMakeIntelInformation.cmake")
11     FILE(WRITE ${CMAKE_PLATFORM_ROOT_BIN}/CMakeIntelInformation.cmake 
12       "
13 SET(_INTEL_XILINK_TEST_RUN 1)
14 SET(_INTEL_COMPILER_SUPPORTS_MANIFEST ${_INTEL_COMPILER_SUPPORTS_MANIFEST})
16   ENDIF(NOT  EXISTS "${CMAKE_PLATFORM_ROOT_BIN}/CMakeIntelInformation.cmake")
17 ENDIF(NOT _INTEL_XILINK_TEST_RUN)