Skip to content

Commit 78b1d63

Browse files
committed
Updated files in perparation for release of v2.7.1.
1 parent 215d8dd commit 78b1d63

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [v2.7.1] - 2023-03-16
9+
10+
- CMake config updated with exporting and generation of a CMake config file so that end users can simply do (thanks to https://github.com/borgmanJeremy for this contribution):
11+
12+
```cmake
13+
find_package(CppLinuxSerial REQUIRED)
14+
...
15+
...
16+
target_link_libraries(target CppLinuxSerial::CppLinuxSerial)
17+
```
18+
819
## [v2.7.0] - 2023-02-13
920
1021
- `Read()` and `ReadBinary()` now append to the provided data containers (string or vector) rather than erase and write.

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cmake_minimum_required(VERSION 3.1.0)
2-
project(CppLinuxSerial VERSION 2.7.0)
2+
3+
project(CppLinuxSerial VERSION 2.7.1)
34

45
option(BUILD_TESTS "If set to true, unit tests will be build as part of make all." TRUE)
56
if (BUILD_TESTS)

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,17 @@ Library for communicating with COM ports on a Linux system.
5959

6060
NOTE: The unit tests used to use virtual serial ports via `stty` on Linux to do more through testing. I ran into permission problems running stty on TravisCI after they did an update and had to remove tests (leaving almost no tests remaining). If anyone wants to add better unit tests, it is greatly welcomed!
6161

62+
## Using This Project As A CMake Deoendency
63+
64+
This project uses CMake and the export feature, so in a downstream CMake project that uses CppLinuxSerial as a dependency you should just be able to do (thanks to https://github.com/borgmanJeremy for this contribution):
65+
66+
```cmake
67+
find_package(CppLinuxSerial REQUIRED)
68+
...
69+
...
70+
target_link_libraries(target CppLinuxSerial::CppLinuxSerial)
71+
```
72+
6273
## Examples
6374

6475
```c++

0 commit comments

Comments
 (0)