Commit Graph

119 Commits

Author SHA1 Message Date
Brad King e2ec4a1845 ENH: Adding kwsys::SystemTools::FileTimeCompare method to compare file modification times with the highest resolution possible on the file system. 2005-02-17 11:28:13 -05:00
Bill Hoffman 626be7884a FIX: go back to not trying to handle spaces in the path for run single command and comment it so that people know to call the right thing 2004-10-25 13:16:05 -04:00
Brad King b4176dcab9 ENH: Added FileTimeCompare method to compare file modification times. Currently the resolution is limited to one second. 2004-10-15 09:23:14 -04:00
Bill Hoffman ef8385744b BUG: allow split string to know if it is separating a path 2004-10-14 11:46:30 -04:00
Bill Hoffman 78e8f12b86 BUG: fix and comment relative path funciton 2004-10-13 11:37:55 -04:00
Andy Cedilnik 3fc7dc5e70 ENH: Move permissions code to kwsys so that copyfile can use it. Fixes Bug #1133 - cmake -E copy file dir sets the wrong permissions on the destination directory 2004-09-29 12:20:52 -04:00
Bill Hoffman 3e2e0d5d63 BUG: fixes for mingw and CMakesetup with spaces in the source directory 2004-08-30 13:50:00 -04:00
Bill Hoffman 9655299f08 ENH: initial fortran support 2004-08-06 14:51:41 -04:00
Brad King 40a5bad916 ENH: Made RunSingleCommand take a double as its timeout length. 2004-07-02 16:27:46 -04:00
Bill Hoffman 2705b1bf73 BUG: fix spaces in path on mingw, and change EXEC_PROGRAM to return false when it does not run, also do not convert the directory to an output path for EXEC_PROGRAM as this is done by the process execution, and doing it twice may cause trouble on some shells. 2004-06-23 16:34:38 -04:00
Berk Geveci ec3a119480 BUG: When error occurs, try compiles should still work 2004-03-17 09:42:32 -05:00
Andy Cedilnik fb228e73c8 ERR: Properly handle mode_t on borland 2004-01-27 09:05:01 -05:00
Andy Cedilnik 09421a261c ENH: Preserve permissions when copying files 2004-01-26 15:50:38 -05:00
Andy Cedilnik 7527fbccc2 ENH: Add code for setting and getting permissions 2004-01-26 14:55:57 -05:00
Bill Hoffman 222e9a2876 BUG: fix put/get env problems 2004-01-26 13:32:46 -05:00
Bill Hoffman 2c2291bbe0 ENH: add new feature to ctest so that it can cmake, build and run a test executable 2004-01-07 11:24:22 -05:00
Andy Cedilnik 32accc1607 BUG: For consistency, use cmStdString. Also, there was a bug in SplitString which make it lose the first character. 2003-12-26 15:00:27 -05:00
Bill Hoffman eb9fc21543 ENH: add support for relative paths in makefiles 2003-12-22 12:24:26 -05:00
Andy Cedilnik 5b232ded15 ENH: Add initial memory check support which works for Valgrind 2003-12-15 17:26:00 -05:00
Brad King 9a58ac6649 ENH: Added CreateSymlink method. 2003-11-26 14:52:12 -05:00
Andy Cedilnik d21532cd02 ENH: Ok, no more argument needed for script mode 2003-10-29 19:49:50 -05:00
Bill Hoffman a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 2003-08-21 16:22:23 -04:00
Andy Cedilnik 028f5aa2c7 ENH: Abstract parsing of arguments so that I can use it in other places 2003-08-07 19:00:53 -04:00
Andy Cedilnik 8a31793c89 ENH: Add back the kwsysProcess RunCommand, now is in parallel 2003-08-03 22:32:15 -04:00
Brad King 45e508f530 ERR: Renamed superclass typedef from SystemTools to Superclass to avoid conflict across platforms. 2003-06-24 10:16:28 -04:00
Brad King 4435e364b8 ERR: Typedefs are not inherited on SGI and Borland. 2003-06-24 08:19:51 -04:00
Brad King dc3fd5c267 ENH: Merged use of kwsys library. 2003-06-23 08:58:58 -04:00
Ken Martin 590460aaae new function 2003-06-19 14:27:01 -04:00
Ken Martin ba68f771b3 yikes added new custom command support 2003-06-03 10:30:23 -04:00
Andy Cedilnik a9875aa62f Implement GetLineFromStream that actually works and use it instead of getline 2003-03-27 12:24:30 -05:00
Brad King 1f55680332 ENH: Added cmDocumentation class to generate various forms of documentation. Each executable will be able to generate its own documentation. 2003-02-14 10:53:37 -05:00
Bill Hoffman badbd8dc8d Fix for include optional 2003-02-08 10:24:03 -05:00
Brad King cde384411d Several fixes/improvements:
- 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.
2003-02-07 14:04:16 -05:00
Bill Hoffman 62b612fbf8 add better testing for unlink 2003-02-05 22:26:55 -05:00
Bill Hoffman f58d7df66a ENH: add checking for NOTFOUND 2003-01-31 13:50:42 -05:00
Bill Hoffman 2f4ea98a4c add a fatal error, and make sure c and c++ compilers work before using them 2003-01-21 12:50:48 -05:00
Bill Hoffman cd7d9823c4 ENH: fix for AIX 2002-12-23 12:19:44 -05:00
Brad King 4888c088ae ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside. 2002-12-11 18:13:33 -05:00
Brad King d6f98c2a82 ENH: Added cmSystemTools::EnableMSVCDebugHook() to prevent error dialogs when CMake is invoked by Dart. 2002-12-11 11:49:08 -05:00
Ken Martin 9e526f797a removed cmMakefile depend from cmSystemTools 2002-12-02 15:59:59 -05:00
Bill Hoffman 5a75e03037 allow flags to be in the CC and CXX environment variables 2002-11-19 18:17:17 -05:00
Bill Hoffman f5d95fb078 Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -05:00
Andy Cedilnik d7ee016535 Move the hi-res time to system tools 2002-11-06 13:06:49 -05:00
Andy Cedilnik f895a94995 Add a simple globbing of files and directories 2002-11-05 08:51:40 -05:00
Brad King 1f6a3c67b1 ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs. 2002-10-23 18:03:27 -04:00
Brad King a8d038dbd0 ENH: Added Split method to cmSystemTools to split a string into lines on its newlines. 2002-10-11 10:16:01 -04:00
Andy Cedilnik 0f3661562c Cleanup RunCOmmand code and move borland one to vtkWin32ProcessExecution, so that it is all in one place... Add timeout option whihc does not work yet, but it should not produce warning any more 2002-10-04 10:38:14 -04:00
Andy Cedilnik 780a9bbda7 Add two cmake commands -E echo for echoing strings and -E comspec for workaround of bug of windows 9x; add another implementation of run command on windows which should work... 2002-09-27 17:28:15 -04:00
Andy Cedilnik 6736678ca3 Add detection of file format from extension 2002-09-25 09:30:49 -04:00
Andy Cedilnik dd6122c6f5 Add a way to check if run command output is disabled 2002-09-19 14:35:53 -04:00