Skip to content

Commit

Permalink
Deprecate CMake support
Browse files Browse the repository at this point in the history
Make clear that CMake is not the supported way of installing the library
  • Loading branch information
nemtrif committed Dec 10, 2023
1 parent c9733bb commit 4965d37
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This file is deprecated and will be removed in a future release
# Please see the instructions for installation in README.md file

cmake_minimum_required (VERSION 3.5...3.27)
project (utf8cpp
VERSION 4.0.3
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,13 @@ I came up with a small, C++98 compatible generic library in order to handle UTF-
<!-- TOC --><a name="installation"></a>
## Installation

The recommended way to use the library is to download an official release and copy the content of source directory into location of your project's header files.
If you use CMake for your builds, I still recommend just copying the files into your project, but if you want you can use the CMakeList.txt file included in the project.
This is a header-only library and the supported way of deploying it is:
- Download a release from https://github.com/nemtrif/utfcpp/releases into a temporary directory
- Unzip the release
- Copy the content of utfcpp/source file into the directory where you keep include files for your project


The CMakeList.txt file was originally made for testing purposes only, but unfortunatelly over time I accepted contributions that added install target. *This is not a supported way of installing the utfcpp library* and I am considering removing the CMakeList.txt in a future release.

<!-- TOC --><a name="examples-of-use"></a>
## Examples of use
Expand Down

0 comments on commit 4965d37

Please sign in to comment.