Commit Graph

207 Commits

Author SHA1 Message Date
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
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
Ken Martin 499bd45d4d removed shared lib support 2002-08-23 16:13:34 -04:00
Ken Martin 34c7c1b78d made CMakeLib shared on windows 2002-08-21 11:57:12 -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
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
Bill Hoffman 2d9e5edb27 ENH: increase coverage 2002-05-23 13:23:35 -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
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
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
Bill Hoffman 567edf0e9a ENH: overhaul of RunCommand on windows, if only win32 had popen... 2002-03-14 11:11:39 -05:00
Bill Hoffman 8aa3c35dad ENH: add suport for semi-colon separated list variables 2002-03-06 10:10:46 -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
Bill Hoffman 80f716941e add bool return value so diagnostics are easier 2002-02-06 10:50:17 -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
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 539318f587 ENH: add callback for message display 2001-10-29 10:19:34 -05: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
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 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
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
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 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
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
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
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 4f77d737c9 ENH: move utilities to targets from makefile, and add versioning to cache 2001-06-07 14:52:29 -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
Sebastien Barre 3546e5611c New functions used to extract the components of a full filename. 2001-05-24 21:17:02 -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 afdea030fe minor whitespace change 2001-05-18 15:23:38 -04:00
Ken Martin 639f1fa239 added registry entry support and windows app support 2001-05-11 10:53:17 -04:00
Bill Hoffman f07ee5b817 ENH: change find library and find program to look for more than one name 2001-05-09 14:53:32 -04:00
Bill Hoffman de10cfc72e ENH: move testing stuff to cmake from configure, good bye dashboard... :) 2001-05-04 11:30:46 -04:00
Brad King 5079efdc68 ENH: Added cmSystemTools::FindProgram() and full-path detection utilities. 2001-05-03 16:55:18 -04:00
Ken Martin 2fb2207c10 bug fixes 2001-04-30 14:56:06 -04:00
Will Schroeder 54cfe84f3f ENH:New copyright 2001-04-27 08:01:17 -04:00
Ken Martin 6e5af0e6cc some fixes for If commands 2001-04-26 10:49:12 -04:00
Brad King e0da3ef275 ERR: Corrected use of double-quotes to be compatible with UNIX make. Now double quotes (windows) or escape sequences for spaces (unix) are added when dependencies are output. 2001-04-09 10:31:36 -04:00
Brad King 31ae187d0c ERR: Removed functions I just added. They don't belong here (yet?). 2001-03-19 11:00:23 -05:00
Brad King 9312a7706b ENH: Added functions to get information about the CMake executable on each platform. 2001-03-19 10:09:04 -05:00
Brad King ce484264de ENH: Improved error handling when GetError is called on a command that has not called SetError. 2001-03-12 18:30:58 -05:00
Brad King 4666b01710 ENH: Added UTILITY_SOURCE command for specifying where a 3rd party utility's source is located when it is included in the distribution of a project. 2001-03-08 10:30:18 -05:00
Bill Hoffman 0b0d1b1d43 ENH: add CMakeCache.txt support 2001-02-22 19:24:43 -05:00
Ken Martin 43859e36cf ENH: add new commands fro find library and find program 2001-02-16 11:34:23 -05:00
Will Schroeder 658614ff6a ENH:Reworked CMake for consistency 2001-01-18 11:20:24 -05:00
Will Schroeder 88bbc0c30d ENH:Documentation and cleanups 2001-01-11 14:47:38 -05:00
Bill Hoffman c54a05bfc7 ENH: rework cmake, added ruleMaker classes and changed the syntax of the CMakeLists.txt files. 2001-01-05 11:41:20 -05:00
Bill Hoffman 74c1345333 ENH: change ME to LIBRARY and added PROJECT, also remove ITK stuff and replaced with CMake 2000-09-27 15:01:19 -04:00
Bill Hoffman aa3ca2b432 ENH: CMake and configure now use SUBDIRS in CMakeLists.txt to find all the directories of the system. 2000-09-12 05:30:35 -04:00
Bill Hoffman 1f42f521ce NEW: move from tools and config to create CMake 2000-08-29 15:26:29 -04:00