-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Cpp target: No building tests/samples for external utfcpp #3040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@parrt Another C++ build change ready to be merged. This might create a conflict with the other build change for utf8cpp, but is the older one, so merge this first please. The other patch might have to be updated then.
@bigerl Please fix the contributors file in your patch. |
@bigerl Your patch broke the build with this error:
Can you fix that? |
I've checked the delta between my fork's master and the current master. There have been several changes to cmake files since I created the pull request which might influence the behavior I patched. I do not have time to look into that immediately. So I would suggest the following:
|
OK @bigerl I created a patch to revert yours and the builds are green again. Just create a new PR for your case when you are ready. |
It is unnecessary that each time the external dependency
utfcpp
is pulled, its tests are build and run. Also its samples are unnecessarily generated.I suggest to use the provided cmake to disable this behavior.
You can find the documentation of the cmake options here: https://github.com/nemtrif/utfcpp/blob/v3.1.1/CMakeLists.txt#L10-L12
Let's make this build a little bit more green and not use unnecessary resources.