[Cmake-commits] [cmake-commits] king committed cmMakefile.cxx 1.472 1.473

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jun 4 12:10:54 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv19150/Source

Modified Files:
	cmMakefile.cxx 
Log Message:
ENH: Allow custom commands with VERBATIM option to have $(SomeVar) make variable replacement.


Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.472
retrieving revision 1.473
diff -C 2 -d -r1.472 -r1.473
*** cmMakefile.cxx	2 Jun 2008 13:39:13 -0000	1.472
--- cmMakefile.cxx	4 Jun 2008 16:10:52 -0000	1.473
***************
*** 722,725 ****
--- 722,726 ----
      cmCustomCommand cc(no_output, depends, commandLines, comment, workingDir);
      cc.SetEscapeOldStyle(escapeOldStyle);
+     cc.SetEscapeAllowMakeVars(true);
      switch(type)
        {
***************
*** 835,838 ****
--- 836,840 ----
                            comment, workingDir);
      cc->SetEscapeOldStyle(escapeOldStyle);
+     cc->SetEscapeAllowMakeVars(true);
      file->SetCustomCommand(cc);
      }



More information about the Cmake-commits mailing list