Commit Graph

517 Commits

Author SHA1 Message Date
Bill Hoffman 89e5fc63fe STYLE: fix line lengths 2006-03-10 13:54:57 -05:00
Andy Cedilnik ff50bb9f77 BUG: Even more VS8 issues 2006-03-01 13:05:57 -05:00
Brad King f2cf7e9197 ENH: Enable capture of output from VCExpress.exe and devenv.exe. 2006-02-15 10:22:55 -05:00
Brad King db0681d2f6 ENH: Adding option to return empty arguments when expanding a list. 2006-02-09 19:03:27 -05:00
Andy Cedilnik e5a8e115bc ENH: Move relative path to kwsys 2006-02-07 10:23:17 -05:00
Andy Cedilnik 1e6bc6e5ee COMP: Remove warnings on HP-UX 2006-01-03 08:39:24 -05:00
Andy Cedilnik 8477aa59e5 ENH: Merge from cpack branch 2006-01-01 23:31:17 -05:00
Andy Cedilnik 6534e66e61 COMP: Fix warning on sun 2005-12-30 16:28:30 -05:00
Andy Cedilnik 00371678d3 COMP: Remove sun warning 2005-12-30 15:32:20 -05:00
Andy Cedilnik bb618a7db5 ENH: Cleanup the file handler stuf so that now any file descriptor type can be used 2005-12-30 14:51:15 -05:00
Andy Cedilnik 7b02221059 COMP: Remove unused variable 2005-12-30 14:31:13 -05:00
Andy Cedilnik 6d0f0e0acb COMP: Fix support for gzip on non-32 bit platforms 2005-12-30 14:22:46 -05:00
Andy Cedilnik 081625c610 COMP: Use mangle names 2005-12-30 12:58:33 -05:00
Andy Cedilnik abe4fd77fc ENH: Make the syntax more line tar 2005-12-29 12:19:13 -05:00
Andy Cedilnik d1180fc4e1 ENH: Add untaring support 2005-12-29 10:43:12 -05:00
Andy Cedilnik 2fcd41323b COMP: Fix complex test and fix bootstrap 2005-12-28 17:02:16 -05:00
Andy Cedilnik 0ef674b906 COMP: Add missing include 2005-12-28 16:53:46 -05:00
Andy Cedilnik 7a49a0ce4a BUG: Return proper values 2005-12-28 16:44:32 -05:00
Andy Cedilnik fdc844ecdb ENH: Add method to create tar 2005-12-28 16:30:55 -05:00
Bill Hoffman 452925649a ENH: add better support for framework linking 2005-12-26 13:14:19 -05:00
Brad King 0df3c162fb BUG: Do not dereference an end iterator. 2005-11-17 15:44:43 -05:00
Brad King 1c96fa4a41 BUG: RunSingleCommand should translate NULL characters in the output to valid text. This should fix the missing-output problem caused by NULL-characters in VS build output. 2005-08-17 17:39:59 -04:00
Brad King bac564356b COMP: Added pragma directives for SGI compilers to avoid useless warnings. 2005-05-03 14:58:13 -04:00
Andy Cedilnik c09f6172a4 ENH: Improve performance by using vector of char instead of string 2005-04-13 16:25:55 -04:00
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
Andy Cedilnik ad5115d00f ENH: Add support for single ' 2005-02-17 10:51:18 -05:00
Brad King 1c663cf41c BUG: Fix to avoid relative path with ..s all the way to the root. 2004-12-09 16:14:46 -05:00
Bill Hoffman ef07a8565e COMP: remove an unused variable warning 2004-10-25 13:40:17 -04: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
Bill Hoffman 7ed631311c FIX: fix RunSingleCommand to work with spaces in the path, and with an already quoted command 2004-10-25 11:59:50 -04:00
Bill Hoffman 9f98481a65 undo last check in as it breaks borland with spaces some how 2004-10-22 21:03:56 -04:00
Bill Hoffman 040f776885 FIX: fix the problem where a target is a single character and nmake gets confused and add a test for it 2004-10-22 17:00:00 -04:00
Bill Hoffman e9b6e65cbd BUG: if the paths share nothing then just return the remote path with no .. 2004-10-19 13:02:42 -04:00
Bill Hoffman 89d35bc8fb ENH: better comments and variable names 2004-10-18 13:19:43 -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 2a1bbabb6b ENH: minor fortran fixes 2004-08-11 16:37:56 -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
Bill Hoffman f1842f9137 BUG: fix spaces in path with mingw and custom commands 2004-06-22 17:23:28 -04:00
Bill Hoffman f49e76899c ENH: speed up for NOTFOUND 2004-05-21 11:52:07 -04:00
Bill Hoffman 35cacf367b BUG: back out change due to broken dashboard 2004-05-20 21:27:37 -04:00
Bill Hoffman 66288b115e ENH: remove regex use where strcmp is faster 2004-05-20 17:33:58 -04:00
Andy Cedilnik 61f602d668 BUG: If the line ends without new-line character, Split should still return something 2004-04-20 18:28:23 -04:00
Andy Cedilnik 6ab87555ea ERR: Fix crash. We should check output before appending to it 2004-02-24 18:48:44 -05:00
Andy Cedilnik c6c1f70012 ENH: Put Process execution errors in output and honor verbosity 2004-02-24 10:04:02 -05:00
Bill Hoffman 6b6971a2c2 BUG: fix FMM 2004-01-27 14:51:18 -05:00
Andy Cedilnik 09421a261c ENH: Preserve permissions when copying files 2004-01-26 15:50:38 -05:00
Andy Cedilnik 900ad59867 ERR: Fix build problems on Visual Studio 6 2004-01-26 15:03:09 -05:00
Andy Cedilnik 7527fbccc2 ENH: Add code for setting and getting permissions 2004-01-26 14:55:57 -05:00
Andy Cedilnik 0217af3b58 ENH: Improve calling of RunSingle command and fix compile error 2004-01-26 14:41:29 -05:00
Bill Hoffman 1d958cad60 ENH: forgot return value 2004-01-26 14:00:22 -05:00
Bill Hoffman 222e9a2876 BUG: fix put/get env problems 2004-01-26 13:32:46 -05:00
Brad King f86424414f BUG: ::Stdout method should flush cout after writing data. 2004-01-21 15:55:47 -05:00
Bill Hoffman 1690c45626 ENH: dont do relative paths when nothing is relative 2004-01-20 14:35:25 -05:00
Brad King 79a1734269 ENH: Added more error state checks to RunSingleCommand. 2004-01-15 08:50:37 -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
Brad King bcd4f87414 BUG: Do not call cmsysProcess_GetErrorString unless GetState returns State_Error. 2003-12-30 10:26:18 -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 0bdb092a01 ENH: add relative paths to visual studio 6 and 7 project files 2003-12-22 16:21: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 ec78910bac BUG: Reimplemented ExpandListArguments to properly handle escaped backslashes that occur right before semicolons. This is important for lists of paths ending in backslashes on windows. 2003-12-08 18:05:29 -05:00
Ken Martin 06092a31fd bug fix to escaped semicolons in arguments 2003-12-08 16:10:48 -05:00
Brad King ed853b5d70 ENH: Removed pipe selection argument from WaitForData method in kwsysProcess. This greatly simplifies its use. 2003-12-05 11:53:17 -05:00
Brad King 8876adcd81 ERR: Fixed unused parameter warnings. 2003-11-26 16:11:43 -05:00
Brad King 9a58ac6649 ENH: Added CreateSymlink method. 2003-11-26 14:52:12 -05:00
Brad King 945fcb581d BUG: Do not use std::string to accumulate output. Use std::vector instead. This is much better at memory management. 2003-11-26 11:41:57 -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 d0c039e9a4 ENH: Fix hidden console for ctest 2003-08-12 17:18:16 -04:00
Ken Martin 072db6ad70 removed redundent includes 2003-08-10 18:30:54 -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
Brad King 999810bc52 ENH: Hide windows for processes run by RunSingleCommand. 2003-08-06 13:48:14 -04:00
Andy Cedilnik 867f88a93f ENH: Improve paths on windows 2003-08-04 11:48:18 -04:00
Andy Cedilnik 4515c33d32 ENH: Fix escaping on windows 2003-08-04 07:55:40 -04:00
Andy Cedilnik d86d2fdf12 ENH: Fix argument parsing on UNIX with spaces 2003-08-04 07:12:42 -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 a6fd6a0bae ENH: Added escape support for ( and ). 2003-07-09 17:25:24 -04:00
Brad King 40c156dead ENH: Added support for # characters inside quoted arguments and for escaping # in a non-quoted argument. Improved parsing speed by not compiling regular expressions on blank lines. 2003-07-09 17:17:34 -04:00
Brad King cbb1de923a BUG: Parsing of arguments from string by RunCommand before passing to Process execution does not work with backslashes in path names. Until this is fixed, we cannot use Process execution from kwsys. 2003-07-07 18:27:57 -04:00
Brad King 7479303e01 ENH: Using new Process SetWorkingDirectory method instead of manually implementing it. 2003-07-07 09:16:36 -04:00
Brad King ccc629702c ENH: Using kwsys Process implementation to implement RunCommand. 2003-07-07 08:41:28 -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 38482b46d1 ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression. 2003-06-23 14:10:12 -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
Bill Hoffman 8cb6645ad8 Remove some borland 6 warnings 2003-05-28 09:21:37 -04:00
Berk Geveci 069ccd82f7 minor fix 2003-04-24 13:25:42 -04:00
Andy Cedilnik 1b37104421 Try differentiating extensions 2003-04-03 08:44:49 -05:00
Brad King 0aeb0b8892 BUG: strlen(buffer) from getline may be 2 less than gcount on windows because both the CR and LF characters may be removed. 2003-04-01 13:29:36 -05:00
Andy Cedilnik 4d9b5d5ef1 Remove warnings 2003-03-27 15:52:29 -05:00
Andy Cedilnik a9875aa62f Implement GetLineFromStream that actually works and use it instead of getline 2003-03-27 12:24:30 -05:00
Andy Cedilnik 84d15bf00e Synchronize extension lists 2003-03-13 12:24:16 -05:00
Brad King d9cda28701 BUG: FindLibrary should not accept a directory even if the exact specified name exists. 2003-03-13 08:44:38 -05:00
Brad King 3453d10412 ERR: Added missing include for msvc. 2003-02-14 10:56:21 -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 bb3f5e7250 ENH: spelling error fix 2003-02-07 10:34:21 -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
Brad King 6d54cfb030 ENH: Improved CopyFile error messages. 2003-01-19 11:42:37 -05:00
Andy Cedilnik 6e4712d6ed Fix problem on windows with network paths 2002-12-30 08:18:38 -05:00
Bill Hoffman 7c9c1c599d ENH: handle // in the path 2002-12-23 09:25:36 -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 3bcbca96ab ENH: Improved implementation of MSVC debug hook to only add the hook if DART_TEST_FROM_DART is set in the environment. This is better than always adding the hook and testing the environment from the callback. 2002-12-11 14:15:35 -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
Andy Cedilnik e7d1a299fb Fix bug in globbing. Now it actually uses only files or directories that result in globbing not the ones that were is the vector before 2002-12-08 22:35:19 -05:00
Ken Martin 9e526f797a removed cmMakefile depend from cmSystemTools 2002-12-02 15:59:59 -05:00
Andy Cedilnik a4b04375d2 When cd-jing into directory, if directory has space, it should put quotes around. I guess we could just put quotes around all the time 2002-11-29 16:35:43 -05:00
Andy Cedilnik a7411d6ceb Add objective C++ file in the list of C++ files. This may be wrong, but it will fix problems on Mac for now 2002-11-27 07:41:57 -05:00
Bill Hoffman 02ef2fb568 fix network paths with spaces 2002-11-21 13:37:32 -05:00
Bill Hoffman b123c07ecf rename foo variables to better names 2002-11-20 18:18:24 -05:00
Brad King c96c3c382f BUG: Attempt to fix CopyFile problem using flush before check for success. 2002-11-20 12:58:29 -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 76fca308d3 ENH: add some better output when copy file fails 2002-11-19 14:40:47 -05:00
Ken Martin d5463f404c fix in warning 2002-11-19 09:01:37 -05:00
Brad King a747e47cb0 ERR: Added missing include. 2002-11-08 18:05:06 -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 0b7d51d79f Remove warning 2002-11-06 11:37:00 -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
Andy Cedilnik c3007233ec Rename variables to remove warnings 2002-10-17 10:51:23 -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
Brad King 281f7519e1 ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream. 2002-10-10 10:43:59 -04:00
Andy Cedilnik 51f399ca29 Fix for run command on windows. If you specify command in quotes but not full path, it should still work 2002-10-06 21:24:37 -04:00
Andy Cedilnik a8bd7f1ff6 Revert back. Does not seems to work on Windows 2002-10-06 20:44:16 -04:00
Andy Cedilnik 8fd2ec6e91 Check if directory was actually created 2002-10-06 18:56:09 -04:00
Andy Cedilnik 1ba0a05039 Fix borland build. Borland Run command should be static, since it is called with no object... 2002-10-05 10:24:45 -04:00
Andy Cedilnik 54ac432b27 Add missing argument 2002-10-04 10:47:57 -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 4435bb091b Cleanup 2002-10-02 17:14:17 -04:00
Ken Martin 8cac76825f Fix bug in borland run command 2002-10-02 11:15:07 -04:00
Andy Cedilnik 9619ee3aa1 Another attempt on Windows 98 2002-09-30 11:41:53 -04:00
Andy Cedilnik ef2af05140 Attempt to unify the code 2002-09-30 11:00:53 -04:00
Andy Cedilnik a38b917162 Fix bug in printing 2002-09-30 10:47:06 -04:00
Andy Cedilnik be6a5696ba Make borland pass all the tests on XP (and 2000?) 2002-09-30 07:09:31 -04:00
Andy Cedilnik d789b13502 Remove debug 2002-09-29 22:10:45 -04:00
Andy Cedilnik aad36568ea It is late and it at least seems to work better than before... 2002-09-29 21:57:48 -04:00
Andy Cedilnik 4fe98d8068 Simplify debugging by resetting error code 2002-09-29 21:48:16 -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 cabe849c03 Add support for mac dylib 2002-09-24 17:37:47 -04:00
Andy Cedilnik 48fe81acdd Try to remove some warnings 2002-09-23 13:32:14 -04:00
Andy Cedilnik 4027cfbb2d Supress standard error when running command 2002-09-19 14:40:03 -04:00
Andy Cedilnik 6769e84472 Improve message handler to include client data. 2002-09-18 14:18:43 -04:00
Brad King 0815091e26 ENH: Added FileIsFullPath test method. 2002-09-13 16:38:35 -04:00
Brad King 807b4ac47f ERR: Fix for borland on linux. We cannot directly compare the st_dev and st_ino members of struct stat. Use memcmp instead. 2002-09-10 15:38:26 -04:00
Andy Cedilnik 23deae1040 Ok, now cd will work on windows 2002-07-25 16:41:36 -04:00
Brad King c5574e096b ENH: Added GetFilenameWithoutLastExtension. 2002-07-15 09:45:47 -04:00
Ken Martin 44a7cd55ff removed all source lists from the system and made them vectors. Also 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 2002-06-27 15:57:09 -04:00
Brad King 07d35e662d ENH: Added cmStringStream class to wrap std::stringstream or std::strstream depending on the platform. The interface is that of std::stringstream, so no "ends" or "rdbuf()->freeze(0)" lines are needed. 2002-06-19 15:21:49 -04:00
Sebastien Barre 03a8c9795c ENH: FindLibrary supports .Net specific lib dirs 2002-06-19 14:35:08 -04:00
Brad King 28895b0f9f ERR: Fixed compiler warnings. 2002-06-18 17:20:27 -04:00
Sebastien Barre ab9c677232 ENH: FindLibrary can now use the makefile to add some compiler-specific lib search path (depending on the generator). 2002-06-14 10:37:59 -04:00
Ken Martin 993aebb748 fixed bug in get short path for quoted paths 2002-05-31 08:39:49 -04:00
Bill Hoffman 2d9e5edb27 ENH: increase coverage 2002-05-23 13:23:35 -04:00
Bill Hoffman 2489a3583d ENH: better comment processing 2002-05-22 09:48:06 -04:00
Berk Geveci e10cea0da4 RunCommand now checks whether the process died abnormally (on Unix) 2002-05-15 11:11:16 -04:00
Sebastien Barre ebebe660df ENH: add no_system_path option to FindProgram so that the PATH is ignored 2002-05-12 11:32:29 -04:00
Brad King 6b08b83d89 ERR: Added variable initializer. 2002-05-10 08:54:49 -04:00
Bill Hoffman 75f9434374 BUG: fix SameFile function for windows, and compare source directories 2002-04-19 08:27:50 -04:00
Bill Hoffman dc15248b40 BUG: do escaped semi-colon better 2002-04-18 13:12:36 -04:00
Bill Hoffman 72022ac27b ENH: add ability to escape semi-colons 2002-04-18 12:02:00 -04:00
Sebastien Barre 41bd8eff90 Syntax seemed to be confusing according to the Bill 2002-04-16 13:48:35 -04:00
Bill Hoffman a07cdc75e1 use stream not sprintf 2002-04-15 09:09:39 -04:00
Sebastien Barre a89dd1fbaf ENH: FilesDiffer checks for 0 byte files 2002-04-15 08:48:39 -04:00
Sebastien Barre 36189ce2a8 ENH: more paranoid checkings 2002-04-14 15:32:16 -04:00
Sebastien Barre f3a280d7d5 FIX: iostream binary flag should be used for cygwin too 2002-04-12 12:05:01 -04:00
Sebastien Barre 4307df12ac FIX: fix UMR 2002-04-12 09:57:17 -04:00
Bill Hoffman 789267c949 ENH: speed improvements 2002-04-11 17:02:10 -04:00
John Biddiscombe 7d8d326d93 ERR: ReplaceString didn't work properly if replace was longer than with as
length added to start pos on next search was replaceLength  instead
of withLength
2002-04-08 19:31:21 -04:00
Bill Hoffman d42055b283 ENH: fix more space problems, you can add args to the ExecProgram command separatly now 2002-04-03 16:14:06 -05:00
Bill Hoffman 2b4e802a94 ENH: fix for regkey and ; separation 2002-04-01 14:50:00 -05:00
Sebastien Barre 92897bf3a8 ENH: add functions to API (read, write, delete registry key value) 2002-04-01 13:34:38 -05:00
Bill Hoffman 7d76de4403 make sure ; expansion is done in all commands 2002-03-29 14:20:32 -05:00
Sebastien Barre ccbdc30a8c ENH: ExpandListArguments(): empty elements in semi-colon-separated string-list can now be ignored. 2002-03-26 16:44:49 -05:00
Sebastien Barre 32fb77fff2 ENH: cmCopyFile ; the path to the destination file will be created ; second arg can be a directory. 2002-03-25 15:59:47 -05:00
Bill Hoffman 6fc3080458 BUG: fix RunCommand again... back to system, but with GetShortPath 2002-03-14 14:59:29 -05:00
Bill Hoffman 567edf0e9a ENH: overhaul of RunCommand on windows, if only win32 had popen... 2002-03-14 11:11:39 -05:00
Bill Hoffman 809b32fe59 ENH: remove several compiler warnings 2002-03-13 10:25:11 -05:00
Bill Hoffman 8aa3c35dad ENH: add suport for semi-colon separated list variables 2002-03-06 10:10:46 -05:00
Bill Hoffman 4651dbcfc6 ENH: expand variables in arguments before the commands get them 2002-03-05 18:41:24 -05:00
Bill Hoffman 2b9140f6b5 BUG: get the correct return value from pclose 2002-03-05 18:25:13 -05:00
Bill Hoffman dcf821ad4d BUG: look for exe path as well. 2002-02-28 11:15:10 -05:00
Bill Hoffman e179ddde12 ENH: look for .com files before .exe 2002-02-28 10:41:27 -05:00
Bill Hoffman 6c1e38abb4 clean up in dot net 2002-02-27 18:11:12 -05:00
Bill Hoffman 6ad590aad6 ENH: dot net almost working 2002-02-25 18:14:01 -05:00
Bill Hoffman cd9157d9ea BUG: fix remove of cygdrive path stuff 2002-02-25 10:47:56 -05:00
Brad King a6333bfca3 ERR: std::ios::binary is only needed for Windows platforms, and isn't supported for all UNIX platforms. 2002-02-23 10:00:54 -05:00
Bill Hoffman b8d2413156 ENH: fix for spaces in paths on unix 2002-02-22 15:40:44 -05:00
Bill Hoffman 8c3400dc6b ENH: big change in the path handling, one function CreateOutputPath is used to escape spaces and convert to the native path type 2002-02-22 13:38:33 -05:00
Brad King bfcf4b02bf ENH: Another attempt at getting cmCopyFile to work correctly. The previous implementation was correct, but didn't work on HPUX due to stream library bugs. This implementation will hopefully work everywhere. 2002-02-22 10:08:04 -05:00
Bill Hoffman 5cd08d0563 BUG: fix copy file for HP 2002-02-21 17:32:55 -05:00
Bill Hoffman 60b9a2c14b ENH: first pass at dot net support 2002-02-18 14:36:04 -05:00
Bill Hoffman 8e15a1ede7 BUG: fix CollapseFullPath so a trailing slash is not added to directories 2002-02-08 15:52:36 -05:00
Bill Hoffman 80f716941e add bool return value so diagnostics are easier 2002-02-06 10:50:17 -05:00
Berk Geveci 31561a7848 BUG: fix for network paths 2002-01-24 14:15:49 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Sebastien Barre 747457abb6 ENH: RemoveFile returns if the file was removed or not 2002-01-18 19:21:02 -05:00
Amitha Perera b2085d7e9d Rolling back symbolic path changes until it works on Windows. 2002-01-07 15:49:07 -05:00
Amitha Perera 2fa6a0eb44 ENH: Add an invocation that maintains symbolic paths to the source and binary trees, mainly for systems with automounted network drives.
ENH: CollapseFullPath() no longer adds a trailing "/" to directory paths.
2002-01-06 14:59:16 -05:00
Andy Cedilnik e89d9d3378 Better handling of new lines when moving from dos to unix 2001-12-17 17:44:24 -05:00
Ken Martin 82b3ed83d4 handle tildas 2001-12-06 16:50:54 -05:00
Bill Hoffman 11084af423 ENH: remove /tmp_mnt from all paths in convert to unix slashes 2001-12-04 17:28:35 -05:00
Berk Geveci 521d8d9410 Improvements to the curses interface. 2001-11-29 16:44:22 -05:00
Bill Hoffman eecf4b9cbf ENH: add advanced variable types and command line wizard gui 2001-11-26 18:28:27 -05:00
Ken Martin 7850f7b319 removed warning messages 2001-11-26 11:32:20 -05:00
Bill Hoffman 12551a33c3 NMake with spaces in directories 2001-11-21 17:45:01 -05:00
Bill Hoffman da17f30cb5 ENH: add new command VARIABLE_REQUIRES for better debugging of list files 2001-11-19 17:52:08 -05:00
Bill Hoffman 94f82edd07 Closer to nmake build 2001-11-14 18:12:22 -05:00
Bill Hoffman 41017cbc88 ENH: clean up warnings 2001-11-13 12:38:53 -05:00
Bill Hoffman b0e3a2def0 ENH: use callback not ifdef for MFC message box errors 2001-10-29 10:41:31 -05:00
Bill Hoffman 539318f587 ENH: add callback for message display 2001-10-29 10:19:34 -05:00
Bill Hoffman 6b1ab49ae6 ENH: better fix for dos return in lines, use the regular expression and don't edit the input line 2001-10-09 10:25:51 -04:00
Bill Hoffman d0aec59356 ENH: clean up returns from input, so we can read dos files on unix 2001-10-05 17:31:29 -04:00
Bill Hoffman 8591786867 ENH: add better error reports in parsing cmake files, like what file has the error 2001-10-02 17:28:55 -04:00
Bill Hoffman f69e3caa14 BUG: fix full path for file in current directory 2001-09-29 11:12:17 -04:00
Berk Geveci f6b3049bda BUG: fix realpath problem again... 2001-09-28 13:35:35 -04:00
Berk Geveci 55415f418a BUG: separate path from file name before calling realpath 2001-09-28 12:14:52 -04:00
Bill Hoffman 9ae8234fe5 BUG: get correct library name 2001-09-28 10:40:14 -04:00
Bill Hoffman 1c8f096517 BUG: use realpath instead of cd/pwd 2001-09-27 16:50:59 -04:00
Brad King 0f5f884a45 BUG: CopyFile should return immediately after an error occurs. 2001-09-21 09:40:07 -04:00
Brad King 65ef85320a ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths (like /foo/bar/*). 2001-09-20 10:54:29 -04:00
Ken Martin e3178eed97 added shortest ext function 2001-09-13 11:27:54 -04:00
Bill Lorensen 1e9fbdc38c ENH: Added LowerCase method. 2001-09-12 17:09:02 -04:00
John Biddiscombe 7adaefb403 ERR: Change to EscapeSpaces forces rework of Borland generator <sigh>
Add clause to prevent adding quotes when they're already present, then stuff them
onto all lib paths to prevent forward slashes causing trouble.
2001-09-11 21:45:35 -04:00
John Biddiscombe ea40b86683 ENH: Add a findfile routine (as opposed to find executable or library) which doesn't
add any extensions - Borland make needs full paths to certain dependencies
otherwise linking doesn't work properly (dependencies aren't checked)
2001-09-11 19:58:22 -04:00
Ken Martin 0fe42a9857 various windows fixes 2001-09-10 15:11:15 -04:00
Sebastien Barre 9c3fc67d00 fix comment pb 2001-09-01 16:55:01 -04:00
John Biddiscombe 5ac8ecd9d2 ENH: Windows and Unix slash conversions return a char*, clean function
seperated from Convert function
2001-09-01 16:13:56 -04:00
Berk Geveci efa44fc1f5 BUG: fix out of bounds read on string in mkdir 2001-08-29 09:44:27 -04:00
Amitha Perera 582fe4b51f ENH: Special value IGNORE behaves like NOTFOUND, but makes FindLibrary, etc,
_not_ search for a library, etc.
2001-08-29 09:26:55 -04:00
Ken Martin f85fc7cda1 better network build support 2001-08-28 14:55:14 -04:00
Bill Hoffman c7bd083549 BUG: fix for broken apple mkdir and general clean up of MakeDirectory command 2001-08-28 10:57:25 -04:00
Bill Hoffman 538ff79e2f ENH: improve coverage 2001-08-23 18:02:30 -04:00
Ken Martin 2190ddc4e9 added test driver for make test target 2001-08-23 11:12:19 -04:00
Bill Hoffman db1303aa7d ENH: big change, only allow commands access to the cache via the cmMakefile class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping 2001-08-08 11:54:46 -04:00
Bill Hoffman 61ec323b6a ENH: compile with broken 720 SGI C++ compiler 2001-08-07 15:49:57 -04:00
Brad King 572ecc9b8a ENH: Added support for non-verbose mode output from running a command. This can be used when it is expected that the command may fail. 2001-07-23 11:53:52 -04:00
Ken Martin 212dfb1b8e limit library search to appropriate extensions 2001-07-18 11:40:23 -04:00
Brad King c5381e8588 ENH: Added support for using backslash-style escaping in CMakeLists.txt file arguments. This allows double quotes to be used in arguments. 2001-07-17 09:54:05 -04:00
Bill Hoffman 189a9db9b6 BUG: make sure find program does not find directories 2001-07-11 12:12:13 -04:00