-
Notifications
You must be signed in to change notification settings - Fork 0
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
YCM 0.10 upgrade path #78
Comments
It does break, indeed. The upstream CMake option should read |
My bad, got fooled by the way CMake treats local and cached variables. See robotology/ycm-cmake-modules#210 (comment) for context. |
TODO: replace deprecated option (needs YCM 0.10) and apply workaround given at robotology/ycm-cmake-modules#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 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: robotology/ycm-cmake-modules#244. |
Fixed in current YCM master branch, scheduled for v0.10.2. This has fixed our superbuild Travis jobs, too. |
I can't think of a good solution, see #41 (comment). 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. |
Will be made relocatable, see robotology/ycm-cmake-modules#289. |
The |
@PeterBowman if you need more arguments to be forwarded to ExternalProject feel free to suggest them! |
Currently in devel branch (release notes):
Rejected (see YCM 0.10 upgrade path #78 (comment)). 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 Look for system-installed googletest for use in Travis builds, drop embedded copies #41 (comment).
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.Use
GIT_SHALLOW TRUE
option toycm_ep_helper()
here.Use
GIT_PROGRESS TRUE
option toycm_ep_helper()
in heavy repos (e.g. OpenRAVE and YARP).Make dox target (Make dox target via YCM goodies #79).
The
FIRST_TARGET
option toinstall_basic_package_files()
could be safely removed from downstream code (InstallBasicPackageFiles: FIRST_TARGET may be useless robotology/ycm-cmake-modules#215 + InstallBasicPackageFiles: don't require targets and deprecate NO_COMPATIBILITY_VARS robotology/ycm-cmake-modules#239) (as well asNO_COMPATIBILITY_VARS
).Set up non-interactive builds (take two): DEVEL_MODE is ignored in NON_INTERACTIVE_BUILD for packages that have an hyphen in the name robotology/ycm-cmake-modules#225 + Add section for YCM/cmake common practices developer-manual#18 (comment) + Add section for YCM/cmake common practices developer-manual#18 (comment). We are going to remove
git config --global user.xxx
lines from every .travis.yml.Drop install-related lines in superbuild-repos (ref): YCMEPHelper: Add subproject install to main build robotology/ycm-cmake-modules#235 (experimental?).
Update local YCM modules, e.g. IncludeUrl.
Request YCM 0.10 or later via
YCM_MINIMUM_VERSION
: YCM bootstrap script does not honor YCM_TAG for on-system lookup #55 (comment).The text was updated successfully, but these errors were encountered: