[CMake] Bracket Argument

James Bigler jamesbigler at gmail.com
Tue Jun 3 16:35:26 EDT 2014


Thanks!


On Tue, Jun 3, 2014 at 6:25 AM, David Cole <dlrdave at aol.com> wrote:

> > Are there some good examples of why one would use bracket arguments?
>
>
> I think one of the major use cases for bracket arguments is in
> "file(WRITE" so you can embed literal python code (or Lua, or
> javascript, or ...) directly in the argument to the file command and
> have a section of your CMakeLists that looks like an entirely different
> language.
>
> It's also a look-far-ahead feature for integrating the "CMake language"
> with a "better" language, say one where arithmetic is more easily
> expressed, down the line somewhere.
>
>
> D
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140603/799f967e/attachment.html>


More information about the CMake mailing list