aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-03-02 23:37:49 +0100
committerAndreas Schneider <mail@cynapses.org>2010-03-02 23:37:49 +0100
commiteec35329556799b9301d3856e60951a274ce2ea5 (patch)
treec731c837353c911cfc65d958167aa2bf947dbf38
parent8424c7a7473c6c371cdce847e5306353366ed67f (diff)
downloadlibssh-eec35329556799b9301d3856e60951a274ce2ea5.tar.gz
libssh-eec35329556799b9301d3856e60951a274ce2ea5.tar.xz
libssh-eec35329556799b9301d3856e60951a274ce2ea5.zip
Simplify the build option output.
-rw-r--r--CMakeLists.txt53
1 files changed, 12 insertions, 41 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ac6a3598..025273b5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -83,51 +83,22 @@ if (CHECK_FOUND AND WITH_TESTING)
add_subdirectory(tests)
endif (CHECK_FOUND AND WITH_TESTING)
-MESSAGE(STATUS "********************************************")
-MESSAGE(STATUS "********** ${PROJECT_NAME} build options : **********")
-if (WITH_LIBZ)
-MESSAGE(STATUS "zlib support : ON")
-else (WITH_LIBZ)
-MESSAGE(STATUS "zlib support : OFF")
-endif (WITH_LIBZ)
+message(STATUS "********************************************")
+message(STATUS "********** ${PROJECT_NAME} build options : **********")
-if (WITH_GCRYPT)
-MESSAGE(STATUS "libgcrypt support : ON")
-else (WITH_GCRYPT)
-MESSAGE(STATUS "libgcrypt support : OFF")
-endif (WITH_GCRYPT)
-
-if (WITH_SSH1)
-MESSAGE(STATUS "SSH-1 support : ON")
-else (WITH_SSH1)
-MESSAGE(STATUS "SSH-1 support : OFF")
-endif (WITH_SSH1)
-
-if (WITH_SFTP)
-MESSAGE(STATUS "SFTP support : ON")
-else (WITH_SFTP)
-MESSAGE(STATUS "SFTP support : OFF")
-endif (WITH_SFTP)
-
-if (WITH_SERVER)
-MESSAGE(STATUS "Server support : ON")
-else (WITH_SERVER)
-MESSAGE(STATUS "Server support : OFF")
-endif (WITH_SERVER)
-
-if (WITH_PCAP)
-MESSAGE(STATUS "Pcap debugging support : ON")
-else (WITH_PCAP)
-MESSAGE(STATUS "Pcap debugging support : OFF")
-endif (WITH_PCAP)
+message(STATUS "zlib support: ${WITH_LIBZ}")
+message(STATUS "libgcrypt support: ${WITH_GCRYPT}")
+message(STATUS "SSH-1 support: ${WITH_SSH1}")
+message(STATUS "SFTP support: ${WITH_SFTP}")
+message(STATUS "Server support : ${WITH_SERVER}")
+message(STATUS "Pcap debugging support : ${WITH_PCAP}")
+message(STATUS "Unit testing: ${WITH_TESTING}")
if (WITH_INTERNAL_DOC)
-MESSAGE(STATUS "Internal documentation generation")
+ message(STATUS "Internal documentation generation")
else (WITH_INTERNAL_DOC)
-MESSAGE(STATUS "Public API documentation generation")
+ message(STATUS "Public API documentation generation")
endif (WITH_INTERNAL_DOC)
-MESSAGE(STATUS "********************************************")
-
-
+message(STATUS "********************************************")