Re: [CMake] Bracket Argument

2014-06-03 Thread James Bigler
Thanks! On Tue, Jun 3, 2014 at 6:25 AM, David Cole 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

Re: [CMake] Bracket Argument

2014-06-03 Thread David Cole
> 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 CMakeList

[CMake] Bracket Argument

2014-06-02 Thread James Bigler
Are there some good examples of why one would use bracket arguments? I'm trying to understand the anticipated use cases. The bracket comments are great for a /**/ substitute. James -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wi