Commit Graph

185 Commits

Author SHA1 Message Date
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
Bill Hoffman 05fb9379ef ENH: add better error output 2001-07-05 17:52:31 -04:00
Bill Hoffman a7f7366abd ENH: various fixes to allow bootstrap on sunos with CC 2001-06-28 17:45:54 -04:00
Bill Hoffman a5349a79c3 BUG: check size of path error, HP gcount problem 2001-06-28 11:40:35 -04:00
Bill Hoffman a5cda2217d ENH: fix install for cygwin, build cmake from configure 2001-06-27 15:42:27 -04:00
Ken Martin c19c252e23 minor fixes to testing 2001-06-27 09:17:12 -04:00
Brad King 373c1663cf BUG: Wrote correct implementation of cmCopyFile. 2001-06-22 12:19:34 -04:00
Ken Martin b977136904 added escape quote method 2001-06-22 10:21:08 -04:00
Ken Martin 242a236db4 adde changeDirectory 2001-06-21 17:53:15 -04:00
Ken Martin 0ff3bdba20 better install support 2001-06-21 12:01:18 -04:00
Bill Hoffman e51844f83d BUG: use pclose not fclose 2001-06-18 17:26:30 -04:00
Brad King 38d5b4a4c3 BUG: Fixed regular expression used to match registry entries. The expression now matches everything after a [HKEY until the first ']' is encountered. 2001-06-11 10:18:30 -04:00
Luis Ibanez 8f412df3f5 DOC: Added a comment about the risk of using tempnam in Unix, as opposed to
using mkstemp.
2001-06-10 18:27:35 -04:00
Ken Martin 4a8d3fc1e3 better regexp for reg entries 2001-06-06 09:44:20 -04:00
John Biddiscombe 46aa080edc ENH: Some tweaks, hacks and #ifdefs required to compile
cmake on Borland C++Builder
2001-06-05 17:41:16 -04:00
Ken Martin ba9aad7c99 new message command 2001-06-04 16:55:37 -04:00
Brad King 07c4f9f145 BUG: Fixed stupid error in the hack I just checked in. 2001-05-25 15:33:22 -04:00
Brad King ad2437f08c BUG: Added hack to cmSystemTools::GetPath to make its algorithm correctly parse off the last entry of the system PATH environment variable. 2001-05-25 14:31:35 -04:00
Sebastien Barre 3546e5611c New functions used to extract the components of a full filename. 2001-05-24 21:17:02 -04:00
Sebastien Barre d8354e65c9 optimize ConvertToUnixSlashes a little bit, and use it in MakeDirectory (code was duplicated) 2001-05-24 19:17:47 -04:00
Sebastien Barre abfa5238ca new Capitalized function. Will be used in the VTK Tcl wrapper for example (in a more portable way). 2001-05-24 13:40:46 -04:00
Ken Martin 768134c690 command line fixes for win32 2001-05-23 16:28:34 -04:00
Bill Hoffman 3bc0c4469c ENH: add better error message 2001-05-23 14:44:35 -04:00
Bill Hoffman c43e3a4f3f fix opengl on hp 2001-05-21 15:16:19 -04:00
Will Schroeder f9a36a6ff9 ERR:Bad #ifdef's 2001-05-17 15:48:32 -04:00
Sebastien Barre 60a8a2f6aa Changed separator between registry key and its value. Change regexp for registry key. 2001-05-14 16:47:09 -04:00
Bill Hoffman 942388186f ENH: put back lost changes from r1.38 2001-05-14 10:36:04 -04:00
Sebastien Barre 4d07ba8b75 fix + => += bug reported by A. Perera 2001-05-12 07:29:23 -04:00
Sebastien Barre 0d2c80aa2d Extended the registry key regexp 2001-05-11 17:22:24 -04:00
Sebastien Barre fc70deedcf Add support for a specific value name in a registry key 2001-05-11 17:11:06 -04:00
Bill Hoffman 72a9a5546f BUG: fix find library for unix 2001-05-11 14:39:30 -04:00
Ken Martin 639f1fa239 added registry entry support and windows app support 2001-05-11 10:53:17 -04:00
Bill Hoffman d04756d8f7 BUG: fix unix path search 2001-05-10 15:50:03 -04:00