You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be helpful if the upstream repository's CMakeLists.txt does not work well. Probably some mechanism to transparently specify a target for it would be necessary for this feature to be helpful:
[target.mylib]
type = "shared"
fetch-content = { git = "https://github.com/foo/mylib", tag = "v1.0" }
sources = ["src/mylib.cpp"] # implicitly ${mylib_SOURCE_DIR}/src/mylib.cpp
This would have to disable file checks and transparently convert globbing expressions into file(GLOB) commands. It is also important that the SOURCE_SUBDIR command is set to a non-existent directory to avoid runing the CMakeLists.txt.
The text was updated successfully, but these errors were encountered:
This can be helpful if the upstream repository's CMakeLists.txt does not work well. Probably some mechanism to transparently specify a target for it would be necessary for this feature to be helpful:
This would have to disable file checks and transparently convert globbing expressions into
file(GLOB)
commands. It is also important that theSOURCE_SUBDIR
command is set to a non-existent directory to avoid runing theCMakeLists.txt
.The text was updated successfully, but these errors were encountered: