Repository navigation
Do not use EXCLUDE_FROM_ALL with FetchContent - #340
Draft
ClausKlein wants to merge 8 commits into
Draft
ClausKlein wants to merge 8 commits into
ClausKlein wants to merge 8 commits into
Conversation
And install right with depencencies
ClausKlein
marked this pull request as draft
November 25, 2026 19:14
ClausKlein
commented
Nov 25, 2026
| beman.utf_view | ||
| TARGETS beman.utf_view | ||
| DEPENDENCIES "[===[beman.transform_view]===]" | ||
| DEPENDENCIES "[===[beman.transform_view 0.2.2]===]" |
ClausKlein
commented
Nov 25, 2026
| set(BEMAN_TRANSFORM_VIEW_USE_MODULES ON) | ||
| endif() | ||
| find_package(beman.transform_view REQUIRED) | ||
| find_package(beman.transform_view 0.2.2 REQUIRED) |
Author
There was a problem hiding this comment.
IMHO: The version should be used to
Comment on lines
+13
to
+16
| set_target_properties(utf_view_smoke PROPERTIES | ||
| CXX_STANDARD 26 | ||
| CXX_STANDARD_REQUIRED YES | ||
| CXX_EXTENSIONS NO |
There was a problem hiding this comment.
[pre-commit] reported by reviewdog 🐶
Suggested change
| set_target_properties(utf_view_smoke PROPERTIES | |
| CXX_STANDARD 26 | |
| CXX_STANDARD_REQUIRED YES | |
| CXX_EXTENSIONS NO | |
| set_target_properties( | |
| utf_view_smoke | |
| PROPERTIES CXX_STANDARD 26 CXX_STANDARD_REQUIRED YES CXX_EXTENSIONS NO |
Comment on lines
+11
to
+13
| list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS | ||
| "-DBEMAN_UTF_VIEW_USE_MODULES=ON" | ||
| ) |
There was a problem hiding this comment.
[pre-commit] reported by reviewdog 🐶
Suggested change
| list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS | |
| "-DBEMAN_UTF_VIEW_USE_MODULES=ON" | |
| ) | |
| list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS "-DBEMAN_UTF_VIEW_USE_MODULES=ON") |
| "-DBEMAN_UTF_VIEW_USE_MODULES=ON" | ||
| ) | ||
| elseif(PORT STREQUAL "beman-transform-view") | ||
| list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS |
There was a problem hiding this comment.
[pre-commit] reported by reviewdog 🐶
Suggested change
| list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS | |
| list( | |
| APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS |
ClausKlein
commented
Nov 25, 2026
| if(BEMAN_USE_FETCH_CONTENT_ENABLED) | ||
| beman_install_library( | ||
| beman.utf_view | ||
| TARGETS beman.utf_view beman.transform_view |
Author
There was a problem hiding this comment.
This is a missleading usage without the generated dependency!
Comment on lines
+142
to
+143
| GIT_SHALLOW ON | ||
| # XXX EXCLUDE_FROM_ALL |
Author
There was a problem hiding this comment.
EXCLUDE_FROM_ALL prevent the installation target for the fetched project
GIT_SHALLOW save disk space and time!
Older cmake version are used on CI workflows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
And install right with depencencies