<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 07/21/2014 03:28 PM, Dan Liew wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ7DczFO80OnTQoZ25q_w5nMm1kfkJqL8ZFmz0HJMcp-ePC_LQ@mail.gmail.com"
      type="cite">
      <pre wrap="">I had another quick look at this. It seems there are

- INTERFACE_COMPILE_OPTIONS
- INTERFACE_COMPILE_DEFINITIONS

properties on Targets. Am I right in understanding that if these were
set on targets and then exported that these properties would persist?</pre>
    </blockquote>
    <br>
    I don't know what you mean by 'persist'. <br>
    <br>
    <blockquote
cite="mid:CAJ7DczFO80OnTQoZ25q_w5nMm1kfkJqL8ZFmz0HJMcp-ePC_LQ@mail.gmail.com"
      type="cite">
      <pre wrap="">Am I also right in thinking that if someone imports that target then
something like INTERFACE_COMPILE_OPTIONS are not automatically added
and that a client of LLVM would have to do something like...</pre>
    </blockquote>
    <br>
    The new documentation in CMake 3.0 also apply to earlier versions,
    insofar as the properties and commands exist:<br>
    <br>
<a class="moz-txt-link-freetext" href="http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html#build-specification-and-usage-requirements">http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html#build-specification-and-usage-requirements</a><br>
    <br>
    "The contents of the
    <a class="reference internal"
href="http://www.cmake.org/cmake/help/v3.0/prop_tgt/INTERFACE_COMPILE_OPTIONS.html#prop_tgt:INTERFACE_COMPILE_OPTIONS"
      title="INTERFACE_COMPILE_OPTIONS"><tt class="xref cmake
        cmake-prop_tgt docutils literal"><span class="pre">INTERFACE_COMPILE_OPTIONS</span></tt></a>
    target properties are
    <em>Usage Requirements</em> – they specify content which consumers
    must use to correctly compile and link with the target they appear
    on.
    For any binary target, the contents of each <tt class="docutils
      literal"><span class="pre">INTERFACE_</span></tt> property on
    each target specified in a <a class="reference internal"
href="http://www.cmake.org/cmake/help/v3.0/command/target_link_libraries.html#command:target_link_libraries"
      title="target_link_libraries"><tt class="xref cmake cmake-command
        docutils literal"><span class="pre">target_link_libraries()</span></tt></a>
    command is
    consumed"<br>
    <br>
    So, further user action is not necessary beyond use of
    target_link_libraries, if the targets have such properties
    populated.<br>
    <br>
    Some information in <br>
    <br>
     <a class="moz-txt-link-freetext" href="http://www.kdab.com/modern-cmake-with-qt-and-boost/">http://www.kdab.com/modern-cmake-with-qt-and-boost/</a><br>
    <br>
    might also be useful to you.<br>
    <br>
    Thanks,<br>
    <br>
    Steve.<br>
    <br>
  </body>
</html>