Changeset - c80a2843f9c1
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-05-14 19:05:41
hanzz.k@gmail.com
better cmake output
1 file changed with 10 insertions and 4 deletions:
0 comments (0 inline, 0 general)
CMakeLists.txt
Show inline comments
 
@@ -30,7 +30,7 @@ find_package(Protobuf REQUIRED)
 
find_package(Doxygen)
 

	
 
message("  Supported features")
 
message("------------------")
 
message("-----------------------")
 
if (SQLITE3_FOUND)
 
	ADD_DEFINITIONS(-DWITH_SQLITE)
 
	include_directories(SQLITE3_INCLUDE_DIR)
 
@@ -43,9 +43,15 @@ 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)
 
@@ -91,4 +97,4 @@ else(DOXYGEN_FOUND)
 
	message("Docs              : no")
 
endif(DOXYGEN_FOUND)
 

	
 
message("------------------")
 
message("----------------------")
0 comments (0 inline, 0 general)