[CMake] when is UPDATE_COMMAND executed in External Project?

Soonho Kong soonhok at cs.cmu.edu
Fri May 8 11:25:24 EDT 2015


By re-reading my previous message, I realized that the question was
mis-leading. The following is what I wanted to know:

1. When is "UPDATE_COMMAND" of external projects executed in cmake's workflow?

2. How to make UPDATE_COMMAND running every time a user is running 'make/ninja'?

Best,
Soonho

On Thu, May 7, 2015 at 11:03 AM, Soonho Kong <soonhok at cs.cmu.edu> wrote:
> Hi,
>
> I'm using ExternalProject_Add in my CMakeList.txt file and I'm wondering
> when it's executed. Ideally, I want to execute this whenever a user is
> running a build command (i.e. make/ninja). However, it seems that this is
> not the case for now. Is there a way to achieve this goal?
>
> Best,
> Soonho


More information about the CMake mailing list