Closed PeterBowman closed 5 years ago
* I suspect this may break once YCM 0.10 is merged into master. The `CONFIGURE_SOURCE_DIR` might need to be replaced with `SOURCE_DIR`, not sure though.
It does break, indeed. The upstream CMake option should read SOURCE_SUBDIR
. Reported at https://github.com/robotology/ycm/issues/210.
It does break, indeed.
My bad, got fooled by the way CMake treats local and cached variables. See https://github.com/robotology/ycm/issues/210#issuecomment-470091529 for context.
The ExternalProject module from CMake master was locally updated into cmake-next/proposed [...]
TODO: replace deprecated option (needs YCM 0.10) and apply workaround given at https://github.com/robotology/ycm/issues/212 (can/should? be done now).
The ExternalProject module from CMake master was locally updated into cmake-next/proposed, allegedly most customizations had been removed. We use the
CONFIGURE_SOURCE_DIR
optionTODO: replace deprecated option (needs YCM 0.10) and apply workaround given at robotology/ycm#212 (can/should? be done now).
No hurry, our current code will work fine thanks to the upstream workaround. This bullet boils down to replacing the will-be-deprecated option to ycm_ep_helper()
.
YCM v0.10 is out! https://github.com/robotology/ycm/releases/tag/v0.10.0
YCM v0.10.1 was released today. We might have found another issue: https://github.com/robotology/ycm/issues/244.
We might have found another issue: robotology/ycm#244.
Fixed in current YCM master branch, scheduled for v0.10.2. This has fixed our superbuild Travis jobs, too.
The FetchContent module from CMake 3.11 will be imported via cmake-next. We might want to fetch googletest on configure time (already moved from embedded copy to apt package or on-system installation), see #41 (comment).
I can't think of a good solution, see https://github.com/roboticslab-uc3m/questions-and-answers/issues/41#issuecomment-484919930. The FetchContent way is kinda close to YCM superbuilds, which I wanted to avoid. On the other hand, it gives total control of the googletest version requested, but we'd like to look for it on system first (the YCM-way) and fall back to the download step - this option involves a custom FindGTestSources script, again.
Nothing more to do here, closing.
Drop install-related lines in superbuild-repos (ref): robotology/ycm#235 (experimental?).
Will be made relocatable, see https://github.com/robotology/ycm/pull/289.
The GIT_SHALLOW
and GIT_PROGRESS
were actually ignored since ycm_ep_helper
never forwarded them to ExternalProject_Add
. Support has been recently added for a SHALLOW
option (https://github.com/robotology/ycm/pull/440), I'm going to use this instead.
@PeterBowman if you need more arguments to be forwarded to ExternalProject feel free to suggest them!
Currently in devel branch (release notes):
Rejected (see https://github.com/roboticslab-uc3m/questions-and-answers/issues/78#issuecomment-484921255). The FetchContent module from CMake 3.11 will be imported via cmake-next. We might want to fetch googletest on configure time (already moved from embedded copy to apt package or on-system installation), see https://github.com/roboticslab-uc3m/questions-and-answers/issues/41#issuecomment-467911707.
[x] The ExternalProject module from CMake master was locally updated into cmake-next/proposed, allegedly most customizations had been removed. We use the
CONFIGURE_SOURCE_DIR
option,which does not exist anymore,in the Buildorocos_kdl.cmake script across superbuild projects. I suspect this may break once YCM 0.10 is merged into master. TheCONFIGURE_SOURCE_DIR
might need to be replaced withSOURCE_DIR
, not sure though.[x] Use
GIT_SHALLOW TRUE
option toycm_ep_helper()
here.[x] Use
GIT_PROGRESS TRUE
option toycm_ep_helper()
in heavy repos (e.g. OpenRAVE and YARP).[x] Make dox target (https://github.com/roboticslab-uc3m/questions-and-answers/issues/79).
[x] The
FIRST_TARGET
option toinstall_basic_package_files()
could be safely removed from downstream code (https://github.com/robotology/ycm/issues/215 + https://github.com/robotology/ycm/pull/239) (as well asNO_COMPATIBILITY_VARS
).[x] Set up non-interactive builds (take two): https://github.com/robotology/ycm/issues/225 + https://github.com/roboticslab-uc3m/developer-manual/issues/18#issuecomment-378587559 + https://github.com/roboticslab-uc3m/developer-manual/issues/18#issuecomment-484692533. We are going to remove
git config --global user.xxx
lines from every .travis.yml.[x] Drop install-related lines in superbuild-repos (ref): https://github.com/robotology/ycm/pull/235 (experimental?).
[x] Update local YCM modules, e.g. IncludeUrl.
[x] Request YCM 0.10 or later via
YCM_MINIMUM_VERSION
: https://github.com/roboticslab-uc3m/questions-and-answers/issues/55#issuecomment-403298296.