@@ -771,4 +771,65 @@ if (NOT TARGET distclean)
771771 ${PROJECT_BINARY_DIR} /src/libczmq.pc
772772 ${PROJECT_BINARY_DIR} /src/libczmq.so
773773 ${PROJECT_BINARY_DIR} /src/czmq_selftest
774- .for project.main
774+ ${PROJECT_BINARY_DIR} /src/zmakecert
775+ ${PROJECT_BINARY_DIR} /src/zsp
776+ ${PROJECT_BINARY_DIR} /src/test_randof
777+ ${PROJECT_BINARY_DIR} /src/czmq_selftest
778+ )
779+ add_custom_target (distclean
780+ COMMAND ${rm_command} CMakeTmp ${cmake_generated}
781+ COMMENT Cleaning for source distribution
782+ )
783+ endif ()
784+
785+ include (ClangFormat OPTIONAL )
786+
787+ ########################################################################
788+ # summary
789+ ########################################################################
790+ message ("" )
791+ message (STATUS "******************* Configuration Summary *******************" )
792+ message (STATUS "General:" )
793+ message (STATUS " Version : ${VERSION} " )
794+ message (STATUS " System : ${CMAKE_SYSTEM_NAME} " )
795+ message (STATUS " C compiler : ${CMAKE_C_COMPILER} " )
796+ message (STATUS " Debug C flags : ${CMAKE_C_FLAGS_DEBUG} ${CMAKE_C_FLAGS} " )
797+ message (STATUS " Release C flags : ${CMAKE_C_FLAGS_RELEASE} ${CMAKE_C_FLAGS} " )
798+ message (STATUS " Build type : ${CMAKE_BUILD_TYPE} " )
799+ message (STATUS " Static build : ${CZMQ_BUILD_STATIC} " )
800+ message (STATUS " Shared build : ${CZMQ_BUILD_SHARED} " )
801+ IF (ENABLE_DRAFTS)
802+ message (STATUS " Draft API : Yes" )
803+ ELSE (ENABLE_DRAFTS)
804+ message (STATUS " Draft API : No" )
805+ ENDIF (ENABLE_DRAFTS)
806+ message (STATUS "" )
807+ message (STATUS "Dependencies:" )
808+ include (FeatureSummary)
809+ feature_summary (WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
810+ message (STATUS "" )
811+ message (STATUS "Install:" )
812+ message (STATUS " Install prefix :" "${CMAKE_INSTALL_PREFIX} " )
813+ message (STATUS "" )
814+ message (STATUS "************************* Options ***************************" )
815+ message (STATUS "Options:" )
816+ message (STATUS " Use the Draft API (default = yes):" )
817+ message (STATUS " -DENABLE-DRAFTS=[yes|no]" )
818+ message (STATUS "" )
819+ message (STATUS "*************************************************************" )
820+ message (STATUS "Configuration complete! Now procced with:" )
821+ message (STATUS " 'make' compile the project" )
822+ message (STATUS " 'make test' run the project's selftest" )
823+ message (STATUS " 'make install' install the project to ${CMAKE_INSTALL_PREFIX} " )
824+ message (STATUS "" )
825+ message (STATUS "Further options are:" )
826+ message (STATUS " 'ctest -V run test with verbose logging" )
827+ message (STATUS " 'ctest -R <test_name>' run a specific test" )
828+ message (STATUS " 'ctest -T memcheck' run the project's selftest with" )
829+ message (STATUS " valgrind to check for memory leaks" )
830+ message (STATUS "" )
831+
832+ ################################################################################
833+ # THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
834+ # Read the zproject/README.md for information about making permanent changes. #
835+ ################################################################################
0 commit comments