• Home
  • Raw
  • Download

Lines Matching +full:debian +full:- +full:clang

4 # Copyright (C) 2020-2023 Jon Shallow <supjps-libcoap@jpshallow.com>
6 # SPDX-License-Identifier: BSD-2-Clause
21 set(COAP_LIBRARY_NAME "coap-${LIBCOAP_API_VERSION}")
34 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-pedantic>
35 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wall>
36 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wcast-qual>
37 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wextra>
38 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wformat-sec…
39 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Winline>
40 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wmissing-de…
41 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wmissing-pr…
42 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wnested-ext…
43 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wpointer-ar…
44 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wshadow>
45 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wstrict-pro…
46 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wswitch-def…
47 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wswitch-enu…
48 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wunused>
49 …$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wwrite-stri…
53 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>>:-Wno-format>
54 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>>:-Wno-format-security>)
59 $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Werror>)
165 "enable building with Q-Block (RFC9177) support"
188 Only build logging code up to and including the specified logging level (0 - 8)[default=8]]
212 add_definitions(-D_CRT_SECURE_NO_WARNINGS)
216 add_definitions(-D__APPLE_USE_RFC_3542=1)
353 message(STATUS "compiling with Q-Block (RFC9177) support")
355 message(STATUS "compiling without Q-Block (RFC9177) support")
384 if(${MAX_LOGGING_LEVEL} MATCHES "[0-7]")
412 --disable-manpages
413 --prefix=${CMAKE_BINARY_DIR}
464 # libgnutls (e.g. debian libgnutls28-dev)
479 # libmbedtls (e.g. debian libmbedtls-dev)
523 # libgnutls (e.g. debian libgnutls28-dev)
533 # libssl (e.g. debian libssl1.0-dev)
543 # libmbedtls (e.g. debian libmbedtls-dev)
570 execute_process(COMMAND git describe --tags --dirty --always
586 set(PACKAGE_BUGREPORT "libcoap-developers@lists.sourceforge.net")
745 PUBLIC -DLIBCOAP_PACKAGE_BUILD="${LIBCOAP_PACKAGE_BUILD}")
781 # tests require libcunit (e.g. debian libcunit1-dev)
783 -lcunit)
791 add_executable(coap-client ${CMAKE_CURRENT_LIST_DIR}/examples/coap-client.c)
792 target_link_libraries(coap-client
795 add_executable(coap-rd ${CMAKE_CURRENT_LIST_DIR}/examples/coap-rd.c)
796 target_include_directories(coap-rd
799 target_link_libraries(coap-rd PUBLIC ${PROJECT_NAME}::${COAP_LIBRARY_NAME})
801 add_executable(coap-server ${CMAKE_CURRENT_LIST_DIR}/examples/coap-server.c)
802 target_link_libraries(coap-server
813 add_executable(oscore-interop-server
814 ${CMAKE_CURRENT_LIST_DIR}/examples/oscore-interop-server.c)
815 target_link_libraries(oscore-interop-server
846 COMMAND ${DOXYGEN_EXECUTABLE} -u > /dev/null 2>&1
914 TARGETS coap-server coap-client coap-rd
919 TARGETS etsi_iot_01 tiny oscore-interop-server