summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove cmSystemTools::EscapeSpaces methodBrad King2010-08-181-6/+0
| | | | | | The last remaining call to this method exists only for compatibility. Remove the method and put its implementation inline in place of the last call.
* CPack: Try harder to remove temporary dir (#10793)Brad King2010-06-041-0/+3
| | | | | Windows filesystems sometimes lock files temporarily. Try removing the CPack temp install folder multiple times before giving up.
* Preserve environment variables across calls to ↵David Cole2009-12-231-0/+14
| | | | cmCTestScriptHandler::RunConfigurationScript. This will help prevent problems like we are currently experiencing (regarding CMake continuous dashboards only running once each day because the HOME environment variable is modified indirectly by a command in a called script, but affects the environment in the calling script).
* Move cURL dependent code out of CMakeLib to fix complex tests.Zach Mullen2009-12-221-12/+0
|
* Make new web api safe for bootstrap build.Zach Mullen2009-12-211-12/+12
|
* Added functionality to allow CTest to easily access web APIs. This will be ↵Zach Mullen2009-12-211-0/+12
| | | | used for better communication with CDash.
* Added support for CTest awareness of the CDash version. This will help ↵Zach Mullen2009-12-211-0/+11
| | | | forward compatibility for both tools. Note that this changeset effectively makes the default to disable output compression. Now, to enable output compression, the CDASH_CTEST_VERSION must be explicity set to >= 1.6. Automated detection of the CDash version is the next step.
* Add JOM support and clean up some of the tar -E stuffBill Hoffman2009-11-051-4/+2
|
* 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.
* ENH: Add cmSystemTools::ParseUnixCommandLineBrad King2009-07-131-0/+4
| | | | | This method is a C++ wrapper around the KWSys System library function to parse unix-style command lines.
* ENH: Remove unused cmSystemTools::RemoveEscapesBrad King2009-06-241-7/+1
| | | | | The RemoveEscapes method is no longer used anywhere. All uses of it have been replaced by a real lexer. We can remove the method.
* ENH: move PutEnv to SystemToolsBill Hoffman2009-06-051-4/+0
|
* ENH: Remove obscure method from KWSys SystemToolsBrad King2009-04-211-0/+8
| | | | | This removes SystemTools::FileExistsInParentDirectories from KWSys since it is a special-purpose method that is not generally useful.
* ENH: Move RenameFile to cmSystemToolsBrad King2009-04-151-0/+4
| | | | | | This moves the cmGeneratedFileStream::RenameFile method implementation into cmSystemTools. It works only within a single filesystem volume, but is atomic when the operating system permits.
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-051-3/+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.
* ENH: Implement feature request from issue 7885. Allow setting environment ↵David Cole2008-11-261-0/+11
| | | | variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.
* ENH: Inform user when RPATH or RUNPATH is removedBrad King2008-08-141-1/+2
|
* ENH: Added WOW64 key view support to KWSys SystemTools' windows registry API.Brad King2008-05-271-1/+2
| | | | | | | - 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/+2
| | | | | - Original patch from Alex. - Modified to print only when RPATH is actually set.
* ENH: Added RPATH methods to cmSystemToolsBrad King2008-04-141-0/+8
| | | | | - RemoveRPath to remove the RPATH from a binary - CheckRPath to check for an existing RPATH in a binary
* ENH: Added methods to cmSystemTools to save and restore file modification times.Brad King2008-04-141-1/+7
|
* ENH: Cleanup builtin chrpath supportBrad King2008-03-021-0/+1
| | | | | | | | | | | | - 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
* ENH: Use builtin chrpath instead of relinking ELF targetsBrad King2008-03-011-0/+5
| | | | | | | | | | - 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: Improve linking to third-party shared libraries on soname platformsBrad King2008-02-211-0/+4
| | | | | | | | | | | | | | - 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
* ENH: Add cmSystemTools::ComputeStringMD5 method.Brad King2008-01-241-0/+3
|
* ENH: add ability to have manifest files and incremental linking with make ↵Bill Hoffman2008-01-011-0/+10
| | | | and nmake
* COMP: Fixed error on HP due to newline macro.Brad King2007-12-201-1/+1
|
* ENH: Enabled color printing of "Scanning dependencies of target ..." message.Brad King2007-12-191-0/+6
|
* ENH: Centralized and globalized computation of CMake program locations. ↵Brad King2007-12-131-0/+8
| | | | This eliminates startup paths that failed to produce this information.
* ENH: During file installation treat the source file as a dependency of the ↵Brad King2007-10-051-0/+5
| | | | 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.
* ENH: fix 2 ctest issues, do not use the build type of ctest to look for ↵Bill Hoffman2007-09-111-0/+6
| | | | config types, do not inherit pipes in child procs for ctest so it can kill them
* ENH: apply patch from Mathieu, add argument -E md5sum to compute md5sums ofAlexander Neundorf2007-07-161-0/+3
| | | | | | files, compatible to md5sum output Alex
* ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink.Brad King2007-03-121-1/+0
|
* ENH: Added ConvertToOutputSlashes method to convert slashes with the same ↵Brad King2007-03-081-0/+2
| | | | policy as ConvertToOutputPath but without escaping.
* STYLE: Removing unused methods ConvertToShellPath and EscapeForUnixShell.Brad King2007-03-081-4/+0
|
* ENH: fix parens in the path with spaces in the pathBill Hoffman2007-02-221-2/+4
|
* ENH: Added EscapeWindowsShellArgument and ParseWindowsCommandLine methods to ↵Brad King2007-02-011-1/+10
| | | | cmSystemTools.
* STYLE: fix line lengthKen Martin2006-05-121-1/+2
|
* ENH: added support for -SP scripts in new processesKen Martin2006-04-041-0/+9
|
* ENH: Handle missing unsetenv and add check for environAndy Cedilnik2006-03-171-0/+2
|
* ENH: Add a method to remove environment variablesAndy Cedilnik2006-03-171-1/+6
|
* ENH: Use vector of plain strings and add cmake -E command for getting ↵Andy Cedilnik2006-03-171-1/+1
| | | | environment
* ENH: Add access for all environment variablesAndy Cedilnik2006-03-171-0/+1
|
* ENH: fix line length style stuffBill Hoffman2006-03-101-6/+15
|
* ENH: Enable capture of output from VCExpress.exe and devenv.exe.Brad King2006-02-151-0/+3
|
* ENH: Adding option to return empty arguments when expanding a list.Brad King2006-02-101-1/+2
|
* ENH: Move relative path to kwsysAndy Cedilnik2006-02-071-8/+1
|
* ENH: Merge from cpack branchAndy Cedilnik2006-01-021-0/+3
|
* ENH: Make the syntax more line tarAndy Cedilnik2005-12-291-2/+3
|
* ENH: Add untaring supportAndy Cedilnik2005-12-291-0/+1
|