configure_file: Add support for indented cmakedefine

Optional spaces and/or tabs are now understood between the '#' character
and the 'cmakedefine'/'cmakedefine01' words. This indentation is
preserved in the output lines.

Fixes: #13037
This commit is contained in:
Sylvain Joubert
2017-07-04 12:00:02 +02:00
parent 74112c8da1
commit 58f4744821
11 changed files with 90 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
indented_cmakedefine
--------------------
* The :command:`configure_file` command learned to support indented
``# cmakedefine`` and ``# cmakedefine01``. Spaces and/or tabs between
the ``#`` character and the ``cmakedefine``/``cmakedefine01`` words
are now understood and preserved in the output.