I have noticed that upon enabling development mode on a superbuild subproject (either YCM_EP_DEVEL_MODE_<project_name> or YCM_EP_MAINTAINER_MODE set to ON, where <project_name> is orchestrated by YCM/ExternalProject), a specific target (e.g. <project_name>-edit_cache) is generated which opens the CMake cache editor, i.e. ccmake. It didn't work for me, though.
Then, I saw something like this in build/CMakeFiles/<project_name>-edit_cache.dir/build.make (real excerpt from generated Makefile by https://github.com/roboticslab-uc3m/asibot-main superbuild):
Cause: no source dir provided to the -H option since variable expansion failed. This patch aims to fix it while still accounting for the source subdir suffix. Tested on CMake 3.16.3 (Ubuntu 20.04).
I have noticed that upon enabling development mode on a superbuild subproject (either
YCM_EP_DEVEL_MODE_<project_name>
orYCM_EP_MAINTAINER_MODE
set toON
, where<project_name>
is orchestrated by YCM/ExternalProject), a specific target (e.g.<project_name>-edit_cache
) is generated which opens the CMake cache editor, i.e.ccmake
. It didn't work for me, though.Then, I saw something like this in
build/CMakeFiles/<project_name>-edit_cache.dir/build.make
(real excerpt from generated Makefile by https://github.com/roboticslab-uc3m/asibot-main superbuild):The problem boils down to:
Cause: no source dir provided to the
-H
option since variable expansion failed. This patch aims to fix it while still accounting for the source subdir suffix. Tested on CMake 3.16.3 (Ubuntu 20.04).