For conditional file install, you could try something like "cmake -E
copy_if_different".
On Sun, Feb 15, 2015 at 1:59 PM, Paul Smith wrote:
> On Sun, 2015-02-15 at 12:16 -0500, David Cole wrote:
>> The easiest thing is probably to use the install(SCRIPT or
>> install(CODE signature of the install
On Sun, 2015-02-15 at 12:16 -0500, David Cole wrote:
> The easiest thing is probably to use the install(SCRIPT or
> install(CODE signature of the install command rather than having a
> "build time" custom command.
Hm. That has the disadvantage that it runs every time, even if the
binary hasn't be
The easiest thing is probably to use the install(SCRIPT or
install(CODE signature of the install command rather than having a
"build time" custom command.
HTH,
David C.
On Sun, Feb 15, 2015 at 9:55 AM, Paul Smith wrote:
> In my Mac OSX builds I want to run dsymutil to create .dSYM debug conten
In my Mac OSX builds I want to run dsymutil to create .dSYM debug
contents. However, this is very slow so I don't want to do it during
normal builds (where it's not needed because I have all the object
files), I only want it to be done during the install step.
I can create an add_custom_command()
hi
there is the specific command need to call in build steps. how can i insert
the comment before this command executed.
add_custom_command (
OUTPUT ${OUTFILE}
COMMENT #pragma runlocal
COMMAND sudo -u app_x01 .
DEPENDS ${DEPENDS}
DEPENDS ${SUDO_PASS}