diff options
Diffstat (limited to 'cmake/showoptions.cmake')
-rw-r--r-- | cmake/showoptions.cmake | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake index 47ad7b0889b..08dc2a0cfcb 100644 --- a/cmake/showoptions.cmake +++ b/cmake/showoptions.cmake @@ -1,7 +1,6 @@ # output generic information about the core and buildtype chosen message("") -message("* TrinityCore rev. hash : ${rev_hash}") -message("* TrinityCore rev. date : ${rev_date}") +message("* TrinityCore revision : ${rev_hash} ${rev_date} (${rev_branch} branch)") if( UNIX ) message("* TrinityCore buildtype : ${CMAKE_BUILD_TYPE}") endif() @@ -34,6 +33,7 @@ endif() if( TOOLS ) message("* Build map/vmap tools : Yes") + add_definitions(-DNO_CORE_FUNCS) else() message("* Build map/vmap tools : No (default)") endif() @@ -71,10 +71,28 @@ if( WIN32 ) endif() endif( WIN32 ) +if ( WITHOUT_GIT ) + message("* Use GIT revision hash : No") + message("") + message(" *** WITHOUT_GIT - WARNING!") + message(" *** By choosing the WITHOUT_GIT option you have waived all rights for support,") + message(" *** and accept that or all requests for support or assistance sent to the core") + message(" *** developers will be rejected. This due to that we will be unable to detect") + message(" *** what revision of the codebase you are using in a proper way.") + message(" *** We remind you that you need to use the repository codebase and a supported") + message(" *** version of git for the revision-hash to work, and be allowede to ask for") + message(" *** support if needed.") +else() + message("* Use GIT revision hash : Yes") +endif() + if ( NOJEM ) message("") - message("*** WARNING: jemalloc linking has been disabled!") - message("*** Please note that this is for DEBUGGING WITH VALGRIND only!") - message("*** DO NOT DISABLE IT UNLESS YOU KNOW WHAT YOU'RE DOING!") + message(" *** NOJEM - WARNING!") + message(" *** jemalloc linking has been disabled!") + message(" *** Please note that this is for DEBUGGING WITH VALGRIND only!") + message(" *** DO NOT DISABLE IT UNLESS YOU KNOW WHAT YOU'RE DOING!") endif() + message("") + |