diff options
author | Tartalo <none@none> | 2010-06-07 21:58:26 +0200 |
---|---|---|
committer | Tartalo <none@none> | 2010-06-07 21:58:26 +0200 |
commit | a54624fa39974d7657a7af7ec3887cf921c968df (patch) | |
tree | 1db022c410bb36ca2f3d24a8c7135f9496a2a41f | |
parent | f1d39c2aa25d399f7a728db0592242edd7a713f9 (diff) |
Add some messages to main cmake file
--HG--
branch : trunk
-rw-r--r-- | CMakeLists.txt | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a122268a52c..e33a04eaaf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,17 +26,16 @@ CONFIGURE_FILE( IMMEDIATE @ONLY) add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") -option(DO_MYSQL "With MySQL support" 1) -option(DO_SCRIPTS "With trinityscripts" 1) +option(CENTOS "CENTOS" 0) option(DO_CLI "With CLI" 1) -option(DO_RA "With RA" 0) option(DO_DEBUG "Debug mode" 0) -option(DO_WARN "Enable all compile warnings" 0) -option(DO_WARN "Enable all compile warnings" 0) -option(CENTOS "CENTOS" 0) -option(DO_SQL "Copy SQL files" 0) +option(DO_MYSQL "With MySQL support" 1) option(DO_PCH "Use precompiled headers" 1) +option(DO_RA "With RA" 0) +option(DO_SCRIPTS "With trinityscripts" 1) +option(DO_SQL "Copy SQL files" 0) option(DO_TOOLS "Compile tools" 0) +option(DO_WARN "Enable all compile warnings" 0) set(GENREV_SRC src/genrevision/genrevision.cpp @@ -131,6 +130,25 @@ if(DO_WARN) add_definitions(-Wall -Wfatal-errors -Wextra) endif(DO_WARN) +if(DO_SQL) + message("* Installing SQL files") +else (DO_SQL) + message("* NOT installing SQL files") +endif(DO_SQL) + +if(DO_PCH) + message("* Using precompiled headers") +else (DO_PCH) + message("* NOT using precompiled headers") +endif(DO_PCH) + +if(DO_TOOLS) + message("* With Tools") +else (DO_TOOLS) + message("* Without Tools") +endif(DO_TOOLS) + + if(UNIX) if(CENTOS) add_definitions(-DCENTOS) |