[CMake] Generate and install a file
Norton Allen
allen at huarp.harvard.edu
Thu Mar 28 15:26:09 EDT 2019
On 3/28/2019 3:11 PM, Kyle Edwards wrote:
> On Thu, 2019-03-28 at 14:58 -0400, Norton Allen wrote:
>>
>> because mygeneratedfile is not a 'target', and I can't make it into a
>> target with add_custom_target() because that's talking about
>> something else entirely (commands that will be run unconditionally,
>> not based on dependencies)
>>
>
> What exactly do you mean by "based on dependencies"? Do you mean that
> this file has dependencies on something else, or that something else
> has dependencies on it?
I mean this file depends on some source files--if the source files
change, I want to rerun the generation step.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190328/bab0f069/attachment-0001.html>
More information about the CMake
mailing list