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