summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-051-50/+0
| | | | | | | This class provides easy syntax to efficiently insert blocks of data into XML documents with proper escapes. It replaces the old cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which allocated extra memory instead of directly streaming the data.
* BUG: fix crash with cmd.exe shell and cmake in the pathBill Hoffman2009-01-201-0/+9
|
* COMP: Using the proper type for local variables can eliminate compiler warnings.David Cole2008-11-261-1/+1
|
* ENH: Implement feature request from issue 7885. Allow setting environment ↵David Cole2008-11-261-0/+50
| | | | variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.
* ENH: add initial support for HAIKU OS from bug# 7425Bill Hoffman2008-09-151-1/+4
|
* BUG: fix for 7045, use gcc for .mBill Hoffman2008-08-191-2/+3
|
* COMP: Work-around bogus compiler warning.Brad King2008-08-151-0/+2
|
* ENH: Inform user when RPATH or RUNPATH is removedBrad King2008-08-141-1/+11
|
* BUG: Update both RPATH and RUNPATH entriesBrad King2008-08-141-70/+119
| | | | | | | | | During installation the RPATH and RUNPATH entries of ELF binaries are edited to match the user specification. Usually either one entry is present or both entries refer to the same string literal. In the case that they are both present and refer to separate string literals we need to update both. I have never seen this case in practice, but we should do this just in case.
* BUG: Remove both RPATH and RUNPATH entriesBrad King2008-08-141-62/+92
| | | | | | | | Removal of the RPATH and RUNPATH from ELF binaries must work when both entries are present. Both entries should be removed. Previously only one would be removed and the other would be blanked because it pointed at the same string which was zeroed. This fixes gentoo bug number 224901.
* ENH: Added WOW64 key view support to KWSys SystemTools' windows registry API.Brad King2008-05-271-3/+3
| | | | | | | - Add an argument to registry read/write/delete methods to specify a 32-bit or 64-bit view. - Default is the bit-ness of the running program. - See issue #7095.
* ENH: Inform user when RPATH is set during installation.Brad King2008-05-271-1/+11
| | | | | - Original patch from Alex. - Modified to print only when RPATH is actually set.
* ENH: Added RPATH methods to cmSystemToolsBrad King2008-04-141-0/+170
| | | | | - RemoveRPath to remove the RPATH from a binary - CheckRPath to check for an existing RPATH in a binary
* COMP: Fix new cmSystemTools file time methods on Windows.Brad King2008-04-141-1/+1
|
* ENH: Added methods to cmSystemTools to save and restore file modification times.Brad King2008-04-141-0/+73
|
* BUG: undo change as it breaks preprocess test for some reason??Bill Hoffman2008-04-081-4/+1
|
* BUG: half fix for 6688, expand registry stuff on unix just like it was not ↵Bill Hoffman2008-04-081-1/+12
| | | | found on windows
* ENH: half fix for 6688, don't let [ count go negativeBill Hoffman2008-04-081-1/+4
|
* ENH: Update cmSystemTools::ChangeRPath to support replacing rpath values ↵Brad King2008-04-081-9/+61
| | | | from the middle of the string.
* ENH: Improve error message when installation file(CHRPATH) cannot change the ↵Brad King2008-04-071-1/+7
| | | | RPATH.
* ENH: try to fix mac symlinks to the executableBill Hoffman2008-03-281-0/+2
|
* ENH: In cmSystemTools::ChangeRPath check for the RUNPATH if RPATH does not ↵Brad King2008-03-021-1/+6
| | | | exist.
* ENH: Cleanup builtin chrpath supportBrad King2008-03-021-4/+33
| | | | | | | | | | | | - Move computation of extended build-tree rpath to cmComputeLinkInformation - Only enable the extended build-tree rpath if the target will be installed - Generalize the interface of file(CHRPATH) - When changing the rpath on installation only replace the part generated by CMake because the native tools (ex SunCC on Linux) might have added their own part to the rpath
* COMP: Fix unused parameter warning when cmSystemTools::ChangeRPath is built ↵Brad King2008-03-011-0/+1
| | | | without ELF support.
* BUG: Fix cmSystemTools::ChangeRPath to not complain if there is no RPATH ↵Brad King2008-03-011-0/+6
| | | | entry in the file but the requested new rpath is empty.
* ENH: Use builtin chrpath instead of relinking ELF targetsBrad King2008-03-011-0/+83
| | | | | | | | | | - Add cmSystemTools::ChangeRPath method - Add undocumented file(CHRPATH) command - When installing use file(CHRPATH) to change the rpath instead of relinking - Remove CMAKE_CHRPATH lookup from CMakeFindBinUtils - Remove CMAKE_USE_CHRPATH option since this should always work
* ENH: Add ELF file parsingBrad King2008-02-271-0/+14
| | | | | | - Enabled when system provides elf.h - Introduce cmELF class to parse ELF files - Use in cmSystemTools::GuessLibrarySOName to really get soname
* ENH: Improve linking to third-party shared libraries on soname platformsBrad King2008-02-211-0/+31
| | | | | | | | | | | | | | - Reduce false positives in cases of unknown soname - Make library extension regular expressions match only at end of string - When linking to libraries in implicit dirs convert to the -l option only if the file name is one that can be found by the linker (ex. /usr/lib/libfoo.so.1 should be linked by full path) - Add cmSystemTools::GuessLibrarySOName to guess the soname of a library based on presence of a symlink - In cmComputeLinkInformation try to guess an soname before assuming that a third-party library is built without an soname - In cmOrderDirectories guess the soname of shared libraries in cases it is otherwise unknown
* COMP: Need to return a value from fake MD5 method under bootstrap.Brad King2008-01-251-0/+1
|
* COMP: Cannot do MD5 from KWSys during CMake bootstrap.Brad King2008-01-241-0/+5
|
* ENH: Add cmSystemTools::ComputeStringMD5 method.Brad King2008-01-241-0/+11
|
* ENH: add ability to have manifest files and incremental linking with make ↵Bill Hoffman2008-01-011-21/+31
| | | | and nmake
* ENH: Enabled color printing of "Scanning dependencies of target ..." message.Brad King2007-12-191-0/+36
|
* ENH: Centralized and globalized computation of CMake program locations. ↵Brad King2007-12-131-0/+23
| | | | This eliminates startup paths that failed to produce this information.
* STYLE: Fixed line-too-long.Brad King2007-10-081-1/+3
|
* COMP: Added inadvertantly removed include.Brad King2007-10-081-0/+1
|
* COMP: Simplified include file logic. The windows.h header should be ↵Brad King2007-10-071-20/+11
| | | | included for all compilers on windows.
* COMP: fix to compile on VS 8Ken Martin2007-10-051-1/+1
|
* BUG: Fix call to SetFileTime to set it on the proper file.Brad King2007-10-051-1/+1
|
* ENH: During file installation treat the source file as a dependency of the ↵Brad King2007-10-051-0/+64
| | | | installed file. Install the file only if the destination is older than the source. Set the file times on the installed file to match those of the source file. This should greatly improve the speed of repeated installations because it removes the comparison of file contents. This addresses bug#3349.
* COMP: remove warningsBill Hoffman2007-09-271-1/+1
|
* BUG: fix problem with stdout and stderr not showing up in ms dos shellsBill Hoffman2007-09-251-1/+11
|
* ENH: add new machinesBill Hoffman2007-09-241-2/+3
|
* ENH: fix warningBill Hoffman2007-09-171-2/+2
|
* ENH: oppsBill Hoffman2007-09-111-0/+2
|
* ENH: fix 2 ctest issues, do not use the build type of ctest to look for ↵Bill Hoffman2007-09-111-0/+17
| | | | config types, do not inherit pipes in child procs for ctest so it can kill them
* COMP: patch from Mathieu: fix warning about unused variables in bootstrapAlexander Neundorf2007-08-141-1/+3
| | | | | | mode Alex
* ENH: use gnu tar for cygwinBill Hoffman2007-07-311-2/+9
|
* BUG: fix bootstrapping, md5sum disabled in bootstrapping modeAlexander Neundorf2007-07-161-2/+6
| | | | Alex
* ENH: apply patch from Mathieu, add argument -E md5sum to compute md5sums ofAlexander Neundorf2007-07-161-0/+47
| | | | | | files, compatible to md5sum output Alex