https://github.com/Kitware/CMake
Revision daa0f6f98df6e944a46a8dff13bb247cf7e301b1 authored by Brad King on 06 August 2013, 19:58:22 UTC, committed by Brad King on 17 October 2013, 13:07:00 UTC
Teach the CMake language parser to recognize Lua-style "long bracket"
arguments.  These start with two '[' separated by zero or more '='
characters e.g. "[[" or "[=[" or "[==[".  They end with two ']'
separated by the same number of '=' as the opening bracket.  There is no
nesting of brackets of the same level (number of '=').  No escapes,
variable expansion, or other processing is performed on the content
between such brackets so they always represent exactly one argument.

Also teach CMake to parse and ignore "long comment" syntax.  A long
comment starts with "#" immediately followed by an opening long bracket.
It ends at the matching close long bracket.

Teach the RunCMake.Syntax test to cover long bracket and long comment
cases.
1 parent a8c6523
History
Tip revision: daa0f6f98df6e944a46a8dff13bb247cf7e301b1 authored by Brad King on 06 August 2013, 19:58:22 UTC
Add Lua-style long brackets and long comments to CMake language
Tip revision: daa0f6f
File Mode Size
Auxiliary
Example
Help
Modules
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 569 bytes
.hooks-config.bash -rw-r--r-- 866 bytes
CMakeCPack.cmake -rw-r--r-- 5.3 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 3.4 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 22.6 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CTestConfig.cmake -rw-r--r-- 1.0 KB
CTestCustom.cmake.in -rw-r--r-- 3.3 KB
CTestCustom.ctest.in -rw-r--r-- 145 bytes
ChangeLog.manual -rw-r--r-- 247.0 KB
ChangeLog.txt -rw-r--r-- 2.5 MB
CompileFlags.cmake -rw-r--r-- 2.5 KB
Copyright.txt -rw-r--r-- 2.6 KB
DartConfig.cmake -rw-r--r-- 809 bytes
DartLocal.conf.in -rw-r--r-- 4.0 KB
Readme.txt -rw-r--r-- 1.9 KB
bootstrap -rwxr-xr-x 54.4 KB
cmake_uninstall.cmake.in -rw-r--r-- 796 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

Readme.txt

back to top