[Cmake-commits] [cmake-commits] hoffman committed syntax.html 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Mar 12 10:04:48 EDT 2008


Update of /cvsroot/CMake/CMakeWeb/HTML
In directory public:/mounts/ram/cvs-serv10555

Modified Files:
	syntax.html 
Log Message:
ENH: new syntax page


Index: syntax.html
===================================================================
RCS file: /cvsroot/CMake/CMakeWeb/HTML/syntax.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** syntax.html	12 Mar 2008 14:01:13 -0000	1.3
--- syntax.html	12 Mar 2008 14:04:46 -0000	1.4
***************
*** 116,124 ****
          referenced using a ${VAR} syntax. Multiple arguments can be grouped together into a list
          using the set command. All other commands expand the lists as if they had been passed into
!         the command with white-space separation. For example, set(Foo a b c) will result in
!         setting the variable Foo to a b c, and if Foo is passed into another command
!         command(${Foo}) it would be equivalent to command(a b c). If you want to pass a list of
          arguments to a command as if it were a single argument simply double quote it. For example
!         command("${Foo}") would be invoked passing only one argument equivalent to command(
    &quot;a b c&quot; ). </p>
        <h2>Flow Control</h2>
--- 116,125 ----
          referenced using a ${VAR} syntax. Multiple arguments can be grouped together into a list
          using the set command. All other commands expand the lists as if they had been passed into
!         the command with white-space separation. For example,
! <pre>  set(Foo a b c)</pre>
!         will result in  setting the variable Foo to a b c, and if Foo is passed into another command
!         <pre>  command(${Foo})</pre> it would be equivalent to <pre>  command(a b c)</pre> If you want to pass a list of
          arguments to a command as if it were a single argument simply double quote it. For example
!         <pre>  command(&quot;${Foo}&quot;)</pre> would be invoked passing only one argument equivalent to command(
    &quot;a b c&quot; ). </p>
        <h2>Flow Control</h2>



More information about the Cmake-commits mailing list