[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    [Cmake] CMakeLists with escape sequences
From:       Brad King <brad.king () kitware ! com>
Date:       2001-07-17 14:20:57
Message-ID: Pine.LNX.4.21.0107171011410.1313-100000 () darkstar ! kitware ! com
[Download RAW message or body]

Hello, all:

I have just checked in code that allows backslash-style escape sequences
in command arguments in CMakeLists.txt files.  The following sequences are
currently supported:

'\\' ==> '\'
'\"' ==> '"'
'\ ' ==> ' '
'\t' ==> tab
'\n' ==> newline
'\r' ==> carriage return
'\0' ==> 0 (ascii value zero)

Other uses of a backslash by itself will produce an error.  All the .cmake
files in the Modules directory have been modified to use the new syntax.

Any CMakeLists files you have that use backslashes in them should be
updated to escape each backslash as you would in C code.

-Brad



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic