How about:
add_custom_target(custom-install DEPENDS xxx-install)
and
cmake --build . --target custom-install
??
The problem is that you are adding a custom target with the name
install which is one that CMake generates for you. (Names to be
avoided are all, clean, install, package,
On 24/03/2015 19:00, Bill Somerville wrote:
snip
Maybe, but I need to have the 'install' target run when I am running
the custom 'source' target of the outer project.
Should have read:
Maybe, but I need to have the 'install' target NOT run when I am running
the custom 'source' target of the
On 24/03/2015 18:31, David Cole wrote:
Hi David,
How about:
add_custom_target(custom-install DEPENDS xxx-install)
and
cmake --build . --target custom-install
??
OK that does work but I wanted the project to have a normal set of
targets. The issue is that the ExternalProject in
On 13/03/2015 14:06, Bill Somerville wrote:
Hi All,
I have a superbuild style project consisting of a few external
projects. I wish to build the install target of one of them as part of
the install target of the parent project. I had it working by adding a
step target called install and
Hi All,
I have a superbuild style project consisting of a few external projects.
I wish to build the install target of one of them as part of the install
target of the parent project. I had it working by adding a step target
called install and adding a custom target to the parent project that