@ -86,16 +86,29 @@ include( CheckTypeSize )
include ( TDEVersion )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # #
# # # # # t d e _ c o n c a t _ m s g
macro ( tde_concat_msg _msg )
unset ( ${ _msg } )
foreach ( _arg ${ ARGN } )
string ( APPEND ${ _msg } " ${_arg}\n" )
endforeach ( )
endmacro ( tde_concat_msg )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # #
# # # # # t d e _ m e s s a g e _ a u t h o r _ w a r n i n g
macro ( tde_message_author_warning )
message ( AUTHOR_WARNING
function ( tde_message_author_warning )
tde_concat_msg ( _msg ${ ARGV } )
message ( AUTHOR_WARNING
" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n "
" $ { A R G V } \ n "
" $ { _ m s g } "
" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - " )
endmacro ( tde_message_author_warning )
end function ( tde_message_author_warning )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
@ -103,9 +116,11 @@ endmacro( tde_message_author_warning )
# # # # # t d e _ m e s s a g e _ f a t a l
macro ( tde_message_fatal )
tde_concat_msg ( _msg ${ ARGV } )
message ( FATAL_ERROR
" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \ n "
" $ { A R G V } \ n "
" $ { _ m s g } "
" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # " )
endmacro ( tde_message_fatal )