diff options
| author | click <click@gonnamakeyou.com> | 2013-02-11 23:27:20 +0100 |
|---|---|---|
| committer | click <click@gonnamakeyou.com> | 2013-02-11 23:27:20 +0100 |
| commit | dfa56a33e08de755fa85184436ac8d946e928ab6 (patch) | |
| tree | e87dbc600de739f956332ff4ac33868f562f01ea /cmake/showoptions.cmake | |
| parent | 3178fc4d964dd3a3b599475d34d76742d843e9cf (diff) | |
Buildsystem/CMake: Correct a few mistakes regarding WITHOUT_GIT, and add a better warning during configure-phase.
Diffstat (limited to 'cmake/showoptions.cmake')
| -rw-r--r-- | cmake/showoptions.cmake | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake index d3415e4e204..058cce78d09 100644 --- a/cmake/showoptions.cmake +++ b/cmake/showoptions.cmake @@ -72,10 +72,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("") + |
