Is it possible to invoke a script function as part of a target? I have a
build step where I need to process a bunch of variable values before
building a particular target. All of the custom targets require a COMMAND,
not a function. I thought maybe I could push this off to a script invoked
by
Is it possible to invoke a script function as part of a target?
No, because the variable values are all gone after CMake finishes
running. And the custom build targets do not run until later at build
time.
I have a build step where I need to process a bunch of variable
values before
On 09.06.2014 12:58, Rick McGuire wrote:
Is it possible to invoke a script function as part of a target? I
have a build step where I need to process a bunch of variable values
before building a particular target. All of the custom targets
require a COMMAND, not a function. I thought maybe I