diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3602c27..e4a8a62 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - LIBVER: ["develop", "v4.3.4", "v4.3.3", "v4.3.2"] + LIBVER: ["develop", "v4.3.5", "v4.3.4", "v4.3.3", "v4.3.2"] steps: - uses: actions/checkout@v4 - name: setup diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..c25491c --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,18 @@ +cmake_minimum_required(VERSION 3.20) + +project(MY_PROJECT VERSION 0.1.0 LANGUAGES CXX C) +set(TARGET myproject) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + +add_executable(${TARGET} client.cc common.cc) +install(TARGETS ${TARGET} DESTINATION bin) + +target_include_directories(${TARGET} + PUBLIC ${PROJECT_BINARY_DIR} +) + +target_link_libraries(${TARGET} + PRIVATE coap-3 +) diff --git a/LICENSE b/LICENSE index 64dd110..d1aab04 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018-2024 obgm +Copyright (c) 2018-2026 Olaf Bergmann Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 99a1686..b588497 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Makefile for libcoap minimal examples # -# Copyright (C) 2018-2024 Olaf Bergmann +# Copyright (C) 2018-2026 Olaf Bergmann # LIBCOAP?=libcoap-3 diff --git a/README.md b/README.md index d541996..3c9f5f9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ then this is handled by a NON-confirmable request. It has two defined resources `/hello` and `hello/my` along with the inbuilt resource `.well-known/core`. -Copyright (C) 2018-2024 Olaf Bergmann +Copyright (C) 2018-2026 Olaf Bergmann License ======= diff --git a/client.cc b/client.cc index df09739..c8da81e 100644 --- a/client.cc +++ b/client.cc @@ -1,6 +1,6 @@ /* minimal CoAP client * - * Copyright (C) 2018-2024 Olaf Bergmann + * Copyright (C) 2018-2026 Olaf Bergmann */ /* diff --git a/common.cc b/common.cc index 7b4e3a9..d2b6550 100644 --- a/common.cc +++ b/common.cc @@ -1,6 +1,6 @@ /* minimal CoAP functions * - * Copyright (C) 2018-2024 Olaf Bergmann + * Copyright (C) 2018-2026 Olaf Bergmann */ #include diff --git a/common.hh b/common.hh index da0c4c5..53ada08 100644 --- a/common.hh +++ b/common.hh @@ -1,6 +1,6 @@ /* minimal CoAP functions * - * Copyright (C) 2018-2024 Olaf Bergmann + * Copyright (C) 2018-2026 Olaf Bergmann */ #include diff --git a/server.cc b/server.cc index 2c97dc9..876fbeb 100644 --- a/server.cc +++ b/server.cc @@ -1,6 +1,6 @@ /* minimal CoAP server * - * Copyright (C) 2018-2024 Olaf Bergmann + * Copyright (C) 2018-2026 Olaf Bergmann */ #include