|
|
@ -86,16 +86,29 @@ include( CheckTypeSize )
|
|
|
|
include( TDEVersion )
|
|
|
|
include( TDEVersion )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
#####
|
|
|
|
|
|
|
|
##### tde_concat_msg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
macro( tde_concat_msg _msg )
|
|
|
|
|
|
|
|
unset( ${_msg} )
|
|
|
|
|
|
|
|
foreach( _arg ${ARGN} )
|
|
|
|
|
|
|
|
string( APPEND ${_msg} " ${_arg}\n" )
|
|
|
|
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
endmacro( tde_concat_msg )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################################################
|
|
|
|
#################################################
|
|
|
|
#####
|
|
|
|
#####
|
|
|
|
##### tde_message_author_warning
|
|
|
|
##### tde_message_author_warning
|
|
|
|
|
|
|
|
|
|
|
|
macro( tde_message_author_warning )
|
|
|
|
function( tde_message_author_warning )
|
|
|
|
|
|
|
|
tde_concat_msg( _msg ${ARGV} )
|
|
|
|
message( AUTHOR_WARNING
|
|
|
|
message( AUTHOR_WARNING
|
|
|
|
"-------------------------------------------------\n"
|
|
|
|
"-------------------------------------------------\n"
|
|
|
|
" ${ARGV}\n"
|
|
|
|
"${_msg}"
|
|
|
|
"-------------------------------------------------" )
|
|
|
|
"-------------------------------------------------" )
|
|
|
|
endmacro( tde_message_author_warning )
|
|
|
|
endfunction( tde_message_author_warning )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################################################
|
|
|
|
#################################################
|
|
|
@ -103,9 +116,11 @@ endmacro( tde_message_author_warning )
|
|
|
|
##### tde_message_fatal
|
|
|
|
##### tde_message_fatal
|
|
|
|
|
|
|
|
|
|
|
|
macro( tde_message_fatal )
|
|
|
|
macro( tde_message_fatal )
|
|
|
|
|
|
|
|
tde_concat_msg( _msg ${ARGV} )
|
|
|
|
|
|
|
|
|
|
|
|
message( FATAL_ERROR
|
|
|
|
message( FATAL_ERROR
|
|
|
|
"#################################################\n"
|
|
|
|
"#################################################\n"
|
|
|
|
" ${ARGV}\n"
|
|
|
|
"${_msg}"
|
|
|
|
"#################################################" )
|
|
|
|
"#################################################" )
|
|
|
|
endmacro( tde_message_fatal )
|
|
|
|
endmacro( tde_message_fatal )
|
|
|
|
|
|
|
|
|
|
|
|