summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigureFileCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Add NEWLINE_STYLE option to configure_file (#3957)Peter Kuemmel2011-11-281-1/+14
|
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Teach configure_file to handle directory namesBrad King2009-09-161-0/+18
| | | | | | | This commit teaches configure_file how to handle directories for input and output. It is an error if the input is a directory. If the output is a directory we put the configured copy of the input file in it with the same name. See issue #9537.
* Teach configure_file to handle relative pathsBrad King2009-09-161-10/+19
| | | | | | | The configure_file() command now converts relative output paths to full paths using the current binary directory. Input relative paths were already converted using the current source directory, but this behavior was not previously documented.
* Fix typo in cmConfigureFileCommand ivar nameBrad King2009-09-161-4/+4
| | | | Rename 'OuputFile' to 'OutputFile'.
* ENH: Improve handling of old-style compatibility.Brad King2008-03-071-20/+1
| | | | | | | | | | | | | | | | | | | - Remove CMP_0001 (no slash in target name) and restore old CMAKE_BACKWARDS_COMPATIBILITY check for it - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY with cmLocalGenerator::NeedBackwardsCompatibility calls - Create new CMP_0001 to determine whether or not CMAKE_BACKWARDS_COMPATIBILITY is used. (old = use, new = ignore) - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when CMP_0001 is set to OLD or WARN - Update documentation of cmake_policy and cmake_minimum_required to indicate their relationship and the 2.4 version boundary - When no cmake policy version is set in top level makefile implicitly call cmake_policy(VERSION 2.4) which restores CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility - Fix tests MakeClean and Preprocess to call cmake_policy(VERSION 2.6) because they depend on new policies
* BUG: change in handling of cmake_minimum_requiredKen Martin2008-03-061-2/+13
|
* BUG: change the handling of CMAKE_MINIMUM_REQUIRED and ↵Ken Martin2008-03-061-13/+9
| | | | BACKWARDS_COMPATIBILITY and extend the documentaiton quite a bit
* BUG: some fixes, still a few to goKen Martin2008-03-051-9/+13
|
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* BUG: No need for the backward compatibility variable warningAndy Cedilnik2007-04-041-2/+2
|
* STYLE: fix line lengthKen Martin2006-05-101-1/+2
|
* ENH: Allow blocking of writing into the source treeAndy Cedilnik2006-03-221-0/+7
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-22/+22
|
* ENH: configure file will assume start source dir if a full path is not providedKen Martin2005-07-071-1/+8
|
* ENH: made configure file immediate by default for 2.2 or laterKen Martin2005-06-131-0/+12
|
* ENH: If configure file fails do not create directoryAndy Cedilnik2004-03-281-3/+7
|
* ENH: Move implementation of configure_file to cmMakefile, so that other ↵Andy Cedilnik2004-03-091-53/+5
| | | | classes can use it
* ENH: Moved variable and #cmakedefine replacement from ↵Brad King2004-03-031-25/+4
| | | | cmConfigureFileCommand.cxx to a ConfigureString method on cmMakefile. This will give other commands access to the configuration code.
* ENH: Preserve permissions when copying filesAndy Cedilnik2004-01-261-0/+3
|
* ENH: Merged use of the kwsys RegularExpression class instead of ↵Brad King2003-06-231-1/+3
| | | | cmRegularExpression.
* Implement GetLineFromStream that actually works and use it instead of getlineAndy Cedilnik2003-03-271-27/+20
|
* spelling errorsBill Hoffman2003-02-141-1/+1
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-2/+0
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* BUG: make sure non cmakedef lines are not skippedBill Hoffman2002-01-161-0/+4
|
* ENH: do not undef cmakedefine stuff, just comment out the lineBill Hoffman2002-01-161-1/+2
|
* Add space to outputAndy Cedilnik2002-01-101-2/+2
|
* ENH: add an option to configure file command that allows for only expansion ↵Bill Hoffman2001-10-301-2/+7
| | | | of at variables and not dollar variables
* add dependency for configure files and use short path in WIN32 cmake testBill Hoffman2001-10-261-0/+1
|
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-1/+1
| | | | avoid changes to the file cache
* ENH: Added 'IMMEDIATE' option to CONFIGURE_FILE command to force file copy ↵Brad King2001-08-031-14/+24
| | | | and configuration on the initial pass so that current variable values are used.
* Wrong place for foutBerk Geveci2001-07-021-1/+1
|
* better configure file commandKen Martin2001-06-291-31/+38
|
* added escape quotes optionKen Martin2001-06-221-1/+17
|
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* BUG: fix use beyond end of arrayBill Hoffman2001-05-091-3/+5
|
* ENH: call configure from cmakeBill Hoffman2001-05-071-0/+133