You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
298 B
15 lines
298 B
5 years ago
|
cmake_minimum_required(VERSION 2.8.12)
|
||
|
project(CompilerIdOBJCXX OBJCXX)
|
||
|
|
||
|
foreach(v
|
||
|
CMAKE_OBJCXX_COMPILER
|
||
|
CMAKE_OBJCXX_COMPILER_ID
|
||
|
CMAKE_OBJCXX_COMPILER_VERSION
|
||
|
)
|
||
|
if(${v})
|
||
|
message(STATUS "${v}=[${${v}}]")
|
||
|
else()
|
||
|
message(SEND_ERROR "${v} not set!")
|
||
|
endif()
|
||
|
endforeach()
|