better cmake output
This commit is contained in:
parent
03d34297b5
commit
c80a2843f9
1 changed files with 17 additions and 11 deletions
|
@ -29,23 +29,29 @@ find_package(Protobuf REQUIRED)
|
|||
|
||||
find_package(Doxygen)
|
||||
|
||||
message("Supported features")
|
||||
message("------------------")
|
||||
message(" Supported features")
|
||||
message("-----------------------")
|
||||
if (SQLITE3_FOUND)
|
||||
ADD_DEFINITIONS(-DWITH_SQLITE)
|
||||
include_directories(SQLITE3_INCLUDE_DIR)
|
||||
message("SQLite3 : yes")
|
||||
message("SQLite3 : yes")
|
||||
else (SQLITE3_FOUND)
|
||||
set(SQLITE3_LIBRARIES "")
|
||||
message("SQLite3 : no")
|
||||
message("SQLite3 : no")
|
||||
endif (SQLITE3_FOUND)
|
||||
|
||||
if (PROTOBUF_FOUND)
|
||||
ADD_DEFINITIONS(-DWITH_PROTOBUF)
|
||||
include_directories(${PROTOBUF_INCLUDE_DIRS})
|
||||
message("Spectrum Java/Python network protocol : yes")
|
||||
message("Network plugins : yes")
|
||||
else()
|
||||
message("Spectrum Java/Python network protocol : no (install Google Protocol Buffers)")
|
||||
message("Network plugins : no (install Google Protocol Buffers)")
|
||||
endif()
|
||||
|
||||
if(PURPLE_LIBRARY AND PURPLE_INCLUDE_DIR AND PROTOBUF_FOUND)
|
||||
message("Libpurple backend : yes")
|
||||
else()
|
||||
message("Libpurple backend : no (install libpurple and Google Protocol Buffers)")
|
||||
endif()
|
||||
|
||||
if(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
|
@ -62,9 +68,9 @@ if(CMAKE_BUILD_TYPE MATCHES Debug)
|
|||
ADD_DEFINITIONS(-Woverloaded-virtual)
|
||||
ADD_DEFINITIONS(-Wsign-promo)
|
||||
ADD_DEFINITIONS(-Wundef -Wunused)
|
||||
message("Debug : yes")
|
||||
message("Debug : yes")
|
||||
else(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
message("Debug : no")
|
||||
message("Debug : no")
|
||||
endif(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
|
||||
|
||||
|
@ -85,10 +91,10 @@ ADD_SUBDIRECTORY(spectrum)
|
|||
ADD_SUBDIRECTORY(backends)
|
||||
|
||||
if(DOXYGEN_FOUND)
|
||||
message("Docs : yes")
|
||||
message("Docs : yes")
|
||||
ADD_SUBDIRECTORY(docs)
|
||||
else(DOXYGEN_FOUND)
|
||||
message("Docs : no")
|
||||
message("Docs : no")
|
||||
endif(DOXYGEN_FOUND)
|
||||
|
||||
message("------------------")
|
||||
message("----------------------")
|
||||
|
|
Loading…
Add table
Reference in a new issue