Comments (4)
You should either disable the build of tests using -DUTF8_TESTS=off
or run git submodule update --init
at the root of the project to clone googletest's repository into extern/gtest
.
from utfcpp.
The zip does not contain the google test library. It's really intended for CI runs only.
from utfcpp.
I would expect that googletest is included in the zip too or downloaded automatically, other libraries contain everything to build too or download on demand e.g. googlebenchmark https://github.com/google/benchmark that adds googletest on demand with cmake ExternalProject_Add .
from utfcpp.
@blonder : including the sources of a third party in a project is, in my opinion, not a good idea for several reasons (build systems' incompatibility, forking prevent you from getting update, new features and bug fixes easily, ...).
Using a package manager to pull the dependencies is a preferable approach. C++ does not offer an official one yet. I would advise you to have a look at Conan.
git-submodule
has a good reason to exist for big projects. That allows to add modularity to the project and also avoid to hit Git's performance issues when you have millions of files. This approach has an important drawback, it only works if the build systems of the projects are the same (unless you write an adapter yourself, good luck with that).
ExternalProject_Add
is not a good idea too. CMake is a build system, not a package manager. People want to do everything with it, I think it's an error.
from utfcpp.
Related Issues (20)
- Unreachable code HOT 2
- The library is not working properly
- Bumping CMake required version HOT 5
- cmake dependency totally broken HOT 5
- vs2022 C2676 is appearing HOT 5
- Install CMake files to arch-indep directories when ARCH_INDEPENDENT is set HOT 3
- Missing ftest.h HOT 3
- utf8::utf16to8 and utf8::unchecked::utf16to8 produce different output HOT 2
- After 4.0.0 headers gets installed into include/utf8 using CMake HOT 7
- Strings are one character short with version 3.2.5 through 4.0.0 HOT 4
- Recommended way to convert case HOT 1
- mismatch version number in CMakeLists.txt HOT 1
- CMake could be added to documentation HOT 1
- Warnings from -Wsign-conversion on Gcc 11.4.0 with C++ 20 HOT 1
- Missing `export` CMake command when installing
- FTBFS due to undocumented external dependency HOT 2
- Support for u8string? HOT 3
- Utf16 strings codepoint iteration and appending HOT 4
- Clang 10 Compiler warnings HOT 6
- C++ Deprecation Warnings HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from utfcpp.