User:BesuglovS

From KitwarePublic
Revision as of 12:22, 4 November 2010 by BesuglovS (talk | contribs) (Created page with "{{/template| project(SystemInfo CXX) message(STATUS "System: " ${CMAKE_SYSTEM_NAME} " " ${CMAKE_SYSTEM_VERSION}) message(STATUS "Processor: " ${CMAKE_HOST_SYSTEM_PROCESSOR}) if($...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

<source lang="cmake"> project(SystemInfo CXX) message(STATUS "System: " ${CMAKE_SYSTEM_NAME} " " ${CMAKE_SYSTEM_VERSION}) message(STATUS "Processor: " ${CMAKE_HOST_SYSTEM_PROCESSOR}) if(${CMAKE_SYSTEM_NAME} STREQUAL Windows) if(MSVC) message(STATUS "Compiler: MSVC, version: " ${MSVC_VERSION}) endif(MSVC) if(BORLAND) message(STATUS "Compiler: BCC") endif(BORLAND) else(${CMAKE_SYSTEM_NAME} STREQUAL Linux) message(STATUS "Only GCC is supported on Linux") endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows) message(STATUS "CMake generates " ${CMAKE_GENERATOR}) </source>