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