Commit graph

35 commits

Author SHA1 Message Date
root
b26a5f718f Release 4.0.6 2024-11-03 13:03:52 -05:00
root
10b7895211 Release 4.0.5 2024-11-03 13:02:26 -05:00
Urs Fleisch
b594c9bfe3 Use ARCH_INDEPENDENT with write_basic_package_version_file
This allows to use a package built on amd64 also on
32-bit Android.
2023-12-29 15:29:47 +01:00
nemtrif
aed58281cf Release 4.0.4 2023-12-10 10:42:20 -05:00
nemtrif
4965d378fb Deprecate CMake support
Make clear that CMake is not the supported way of installing the library
2023-12-10 10:41:12 -05:00
nemtrif
c9733bbe49 Release 4.0.3 2023-12-03 18:03:19 -05:00
Marcus Holland-Moritz
fbc0225345 fix: revert to pre-4.x install path {prefix}/utf8cpp (see #112)
This reverts the install path of the headers to the path that was
used before the 4.x release series, unbreaking projects that were
building against the library without using the CMake config files.
2023-11-30 06:52:29 +01:00
Urs Fleisch
40d6c67d0a Fix CMake build system to use existing include directory (#112)
Also provide an imported target utf8::cpp for backward compatibility.
2023-11-04 15:22:16 +01:00
nemtrif
e41ec639b7 Version 4.0.1 2023-10-28 11:23:34 -04:00
Nemanja Trifunovic
925e7147ec
Merge V4 branch into main (#110)
* Redefined and renamed types for code units.

* Remove -Wsign-conversion from test builds.

* find_invalid and is_valid that work with C-style strings.

* Lifted the C++11 requirement for some functions
 that take std::string as an argument.

* Support for C++20 u8string

Issue #89

* Update test docker image to 4.0.0

* Update Dockerfile to run tests with a recent gcc compiler.

* Make some internal helper functions non-template

* Add append16 function

Support for appending codepoints to existing utf16 encoded strings.

See #91

* next16

* Tests and documentation for next16

* Rewrite CMakeLists

Drop the existing CMake structure and write the new one from scratch. The root CMakeLists.txt is used for installing the package without building and running tests. Testing is done via a separate CMakeLists.txt in the tests directory.

* Remove "samples" directory.

The content of that file is already in the documentation.

* Update README.md

Restructure the reference, add installation instructions, toc, other minor changes
2023-10-21 18:16:40 -04:00
nemtrif
6f0e7c7865 Version 3.2.5 2023-09-24 17:20:06 -04:00
nemtrif
f23474118c Version 3.2.4 2023-08-12 11:18:39 -04:00
nemtrif
df857efc5b Set cmake_minimum_required VERSION to 3.0.2...3.27
Address issue https://github.com/nemtrif/utfcpp/issues/103
2023-08-06 07:39:25 -04:00
Felix Wang
dbb2423248 Use ARCH_INDEPENDENT option that is introduced in CMake 3.14 2023-06-25 11:26:29 -04:00
Sven Fink
73b347f313 Adds the following advantages:
- utf8::cpp is available, even when installed
 - cmake is aware of the library version
 - compatible with previous usage: target utf8cpp available when installed
2022-11-22 12:42:26 +01:00
nemtrif
3ca904b219 Version 3.2.2 2022-11-06 16:14:17 -05:00
Corentin Schreiber
a92f85526b
Add missing export() command 2021-12-26 17:49:35 +00:00
Nemanja Trifunovic
ddd38b3042 Version 3.2 2021-05-01 18:07:14 -04:00
Nemanja Trifunovic
fe79d14ae7 Switching from gtest to ftest for unit-testing. 2021-04-24 15:02:08 -04:00
Nemanja Trifunovic
e39907b381 Version 3.1.2 2020-09-27 14:26:57 -04:00
Flamefire
bee3b13496 Enable tests, docu, install only when building as root project
This allows use via `add_subdirectory`
2019-11-09 15:17:41 +01:00
xantares
afc32b4c08
Always use GNU install layout except MSVC
Current for win32 targets the cmake config file is installed in INSTALL_PREFIX/CMake except for cygwin. 

But we want this also for MinGW, so I I'm thinking we want only this behavior for visual studio. 

What do you think ?
2019-05-20 15:24:15 +02:00
Nemanja Trifunovic
82c674b7a7 Version 3.1 2019-04-26 17:49:17 -04:00
Nemanja Trifunovic
293f85d972 Installation is optional
Issue #32 cmake option to disable install
2019-04-21 22:30:58 -04:00
Nemanja Trifunovic
a540297fd4 Version 3.0.3 2019-04-15 17:52:12 -04:00
Nemanja Trifunovic
d5e847d0a3 Update project version 2019-04-14 19:56:53 -04:00
Nemanja Trifunovic
66804081d4 Introduce GTest
Restructure tests to use Google Test framework
2019-04-11 10:25:49 -04:00
Nemanja Trifunovic
080f1e6a3a Remove utf8reader sample 2019-04-02 17:54:36 -04:00
Nemanja Trifunovic
2b8596149e Support for C++11
Optional support for C++11 features
2019-04-02 17:54:36 -04:00
Nemanja Trifunovic
60c490b89f Release v2.3.6 2018-09-24 19:49:14 -04:00
Oleg Artenii
fd39f7efb1
cmake: fixed undefined ${CMAKE_INSTALL_LIBDIR} 2018-09-14 09:24:40 +03:00
Aaron Bishop
3866386b6d Modernize cmake
* Able to use as subfolder
* Able to install (and import again in cmake)
* Able to disable tests
* Able to disable samples
2018-08-02 10:38:13 -04:00
Nemanja Trifunovic
67036a031d Consolidate CMakeLists.txt
The build has only one CMakeLists.txt now.
Added support for CTest
2016-11-05 18:46:04 -04:00
Nemanja Trifunovic
f029fcc2fb CMake for negative test 2015-10-17 20:41:24 -04:00
Nemanja Trifunovic
2620091238 Initial CMake files 2015-10-17 20:16:06 -04:00