hello Eric Doenges,
You are correct. This has been given me headaches.
Setting BUILD_ALWAYS to TRUE gives the desired behaviour.
Thank you
On 24/09/2019 14:59, Eric Doenges wrote:
You're probably missing the BUILD_ALWAYS option to ExternalProject_Add:
|BUILD_ALWAYS |
Enabling this
You're probably missing the BUILD_ALWAYS option to ExternalProject_Add:
|BUILD_ALWAYS |
Enabling this option forces the build step to always be run. This
can be the easiest way to robustly ensure that the external
project’s own build dependencies are evaluated rather than relying
on
hello,
I have a problem with a build step.
The following command is run every time somefile changes:
add_custom_command( OUTPUT out.put
COMMAND touch out.put
DEPENDS somefile.txt
)
add_custom_target( sometarget DEPENDS out.put )
I move this snippet inside an external project (with