On Mon, 2015-02-16 at 09:55 -0500, David Cole wrote:
Ah ha! Back to the simpler approach with install(CODE!
Good idea, Nils.
Then you just need a stamp/sentinel file associated with running the
operation, and you can check it against your input.
Aha, that works well. I don't need a
On Sun, 2015-02-15 at 18:26 -0600, Iosif Neitzke wrote:
For conditional file install, you could try something like cmake -E
copy_if_different.
That won't work; I don't have any files to copy. What I want is to run
the dsymutil command during install only, not during the normal build
(because
On 02/16/2015 03:25 PM, Paul Smith wrote:
On Sun, 2015-02-15 at 18:26 -0600, Iosif Neitzke wrote:
For conditional file install, you could try something like cmake -E
copy_if_different.
That won't work; I don't have any files to copy. What I want is to run
the dsymutil command during install
Ah ha! Back to the simpler approach with install(CODE!
Good idea, Nils.
Then you just need a stamp/sentinel file associated with running the
operation, and you can check it against your input.
For your comment line, you could use cmake -E echo to spit out a
comment before running the dSYM
The other way you could approach this, but which would not be as
simple would be to invent *your own* custom install target
(install_with_dSYM, or whatever name makes sense to you). Then you
could have that target depend on all the custom targets that build the
dSYM files. When you build this
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
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 p...@mad-scientist.net wrote:
In my Mac OSX builds I want to run dsymutil to
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 p...@mad-scientist.net 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