1 # Shows status of a option variable
3 # usage: SHOW_STATUS( <VariableName> <MessageText> )
5 # Copyright (C) 2007 Bjoern Ricks <b.ricks@fh-osnabrueck.de>
7 # Redistribution and use is allowed according to the terms of the New
9 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
12 MACRO( SHOW_STATUS _name _message )
13 IF( DEFINED ${_name} )
14 MESSAGE( STATUS "${_message}\t\t${${_name}}" )
15 ELSE( DEFINED ${_name} )
16 MESSAGE( STATUS "${_message}\t\tOFF" )
17 ENDIF( DEFINED ${_name})
18 ENDMACRO( SHOW_STATUS )