summaryrefslogtreecommitdiffstats
path: root/Source/cmGetFilenameComponentCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Fix get_filename_component ABSOLUTE modeBrad King2009-07-231-13/+3
| | | | | | | This teaches the command to recognize full windows paths when built on UNIX. CollapseFullPath knows when the input path is relative better than FileIsFullPath because the latter is only meant for paths from the host platform.
* ENH: Add get_filename_component(... REALPATH)Brad King2009-02-091-1/+7
| | | | | | | This patch from Philip Lowman creates a REALPATH mode in the get_filename_component command. It is like ABSOLUTE, but will also resolve symlinks (which ABSOLUTE once did but was broken long ago). See issue #8423.
* BUG: Alternative fix to bug #8423Brad King2009-02-061-2/+1
| | | | | | | | | The patch used to fix this bug used SystemTools::GetRealPath which works only for existing files. It broke the case of using the command get_filename_component for a non-existing file. Also, it changed long-standing behavior in a possibly incompatible way even for existing files. This reverts the original fix and instead updates the documentation to be consistent with the behavior.
* BUG: fix for #8423Bill Hoffman2009-01-291-1/+2
|
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+1
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* STYLE: fix line lengthKen Martin2006-05-101-12/+12
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-6/+6
|
* BUG: ABSOLUTE option should evaluate relative paths with respect to ↵Brad King2006-01-311-0/+14
| | | | CMAKE_CURRENT_SOURCE_DIR. This addresses bug#2797.
* Several fixes/improvements:Brad King2003-02-071-1/+5
| | | | | | | | | | | | | - Fixed CollapseFullPath to work on relative paths with base paths not in the current working directory. - INCLUDE command now supports relative paths (using above fix). - Added ABSOLUTE option to GET_FILENAME_COMPONENT command to unwind symlinks and relative paths. - Fixed libName_EXPORTS macro definition to be valid C identifier. - Added DEFINE_SYMBOL target propterty for customizing the export symbol. - Implemented LINK_FLAGS target propterty for libraries in VC6 and VC7. Several of these fixes were contributed by Gareth Jones.
* ENH: add checking for NOTFOUNDBill Hoffman2003-01-311-1/+1
|
* FIX: this command was not processing its arg to expand registery valuesSebastien Barre2003-01-231-0/+1
|
* ERR: Fixed signed/unsigned warning.Brad King2002-11-201-1/+1
|
* allow flags to be in the CC and CXX environment variablesBill Hoffman2002-11-191-1/+29
|
* 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.
* removed all source lists from the system and made them vectors. Also ↵Ken Martin2002-06-271-1/+1
| | | | appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-1/+0
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* The result of this utility command can now be optionally added to the cacheSebastien Barre2001-10-231-1/+23
|
* 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: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* Welcome to cmGetFilenameComponentCommand ("Get a specific component of a ↵Sebastien Barre2001-05-251-0/+84
full filename")