Y
Hacker News
new
|
ask
|
show
|
jobs
by
macgyverismo
17 days ago
Why use git submodule, when the repo already use CMakes Fetchcontent?
2 comments
throwa356262
17 days ago
From CMakeLists.txt
# Prefer the in-tree submodule when present; only fall back to fetch.
link
macgyverismo
16 days ago
That explains it. I guess my actual question was, why would you prefer submodules over fetchcontent :)
link
tfeayush
16 days ago
I don't know like to see it all connected on the Github web interface.
link
# Prefer the in-tree submodule when present; only fall back to fetch.