|
@@ -17,7 +17,7 @@ if(Qt5Core_VERSION VERSION_LESS "5.12.3")
|
|
endif()
|
|
endif()
|
|
|
|
|
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/grpc/CMakeLists.txt")
|
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/grpc/CMakeLists.txt")
|
|
- message(STATUS "Found local gRPC sources directory. Perform all-in-one build")
|
|
|
|
|
|
+ message(STATUS "-- Found local gRPC sources directory. Perform all-in-one build")
|
|
set(gRPC_BUILD_TESTS FALSE)
|
|
set(gRPC_BUILD_TESTS FALSE)
|
|
set(protobuf_BUILD_TESTS FALSE)
|
|
set(protobuf_BUILD_TESTS FALSE)
|
|
add_subdirectory("3rdparty/grpc")
|
|
add_subdirectory("3rdparty/grpc")
|
|
@@ -80,7 +80,7 @@ if(NOT DOXYGEN_FOUND)
|
|
find_program(DOXYGEN_EXECUTABLE doxygen)
|
|
find_program(DOXYGEN_EXECUTABLE doxygen)
|
|
endif()
|
|
endif()
|
|
if(DEFINED DOXYGEN_EXECUTABLE)
|
|
if(DEFINED DOXYGEN_EXECUTABLE)
|
|
- message(STATUS "DOXYGEN_EXECUTABLE: ${DOXYGEN_EXECUTABLE}")
|
|
|
|
|
|
+ message(STATUS "-- Using doxygen to generate documenation: ${DOXYGEN_EXECUTABLE}")
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
|
|
add_custom_target(doc
|
|
add_custom_target(doc
|
|
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
|
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
|
@@ -103,9 +103,9 @@ endif()
|
|
|
|
|
|
if(NOT gRPC_FOUND)
|
|
if(NOT gRPC_FOUND)
|
|
message(WARNING "gRPC not found: some tests and examples cannot be built.")
|
|
message(WARNING "gRPC not found: some tests and examples cannot be built.")
|
|
- message(STATUS "Force disable test")
|
|
|
|
|
|
+ message(STATUS "-- Force disable test")
|
|
set(QTPROTOBUF_MAKE_TESTS OFF)
|
|
set(QTPROTOBUF_MAKE_TESTS OFF)
|
|
- message(STATUS "Force disable examples")
|
|
|
|
|
|
+ message(STATUS "-- Force disable examples")
|
|
set(QTPROTOBUF_MAKE_EXAMPLES OFF)
|
|
set(QTPROTOBUF_MAKE_EXAMPLES OFF)
|
|
endif()
|
|
endif()
|
|
|
|
|