Commit Graph

2543 Commits

Author SHA1 Message Date
Brad King ae84581f86 ENH: Added construction of original command line in argc/argv style. 2003-07-23 17:31:25 -04:00
Brad King 6849cbdfcb ENH: Improved behavior when run with arguments from the command line. 2003-07-23 17:28:44 -04:00
Brad King fde552ea6e ENH: CheckOptions now takes const argv. 2003-07-23 17:27:34 -04:00
Brad King 6f1a044018 ENH: Added backwards compatability. 2003-07-23 15:45:53 -04:00
Brad King 48aedb2ba3 ENH: Fully implemented SOURCE_GROUP command. 2003-07-23 15:32:54 -04:00
Andy Cedilnik e093bdade0 ENH: Fix compatibility 2003-07-23 14:31:30 -04:00
Brad King 296ded5e4d BUG: Fixed off-by-one error in file list loop. Fix submitted by David A. Karr. 2003-07-23 10:39:41 -04:00
Andy Cedilnik 8d22e9f70a ENH: On windows and apple handle lowercase/upercase file name problem 2003-07-23 10:26:37 -04:00
Andy Cedilnik 7eb7973393 ERR: Fix error on bad C++ compiler that do not handle return void 2003-07-22 13:53:06 -04:00
Andy Cedilnik ef20a2a8a9 BUG: Fix copy/paste typo 2003-07-22 13:15:45 -04:00
Andy Cedilnik 8327883f3f ENH: Add DisplayStatus 2003-07-22 13:14:55 -04:00
Brad King be68519dd4 ENH: Added introduction paragraph to documentation. 2003-07-21 17:13:53 -04:00
Brad King a1bb1a4712 ENH: Added optional configuration of data/doc/man dirs. This will be useful for package maintainers. 2003-07-21 16:38:53 -04:00
Brad King d4afed0724 Removing old file. This was used by old configure script which has been removed. 2003-07-21 16:37:31 -04:00
Andy Cedilnik 2d513c2364 ENH: fix glob on windows and add glob recurse test 2003-07-21 15:29:29 -04:00
Brad King d4042b46d1 ENH: Added generation of cmake documentation during build preocess. 2003-07-21 15:02:12 -04:00
Brad King 90397af164 BUG: Text dump of documentation should be in ascii mode. 2003-07-21 14:58:07 -04:00
Brad King 1d75f1c9fb BUG: Fixed documentation formatting. 2003-07-21 14:57:39 -04:00
Andy Cedilnik 0152cc3a35 ENH: Use new deprecation mechanism 2003-07-21 14:44:25 -04:00
Andy Cedilnik 18c6f9e0c5 ENH: Initial framework for deprecated commands 2003-07-21 14:44:00 -04:00
Andy Cedilnik 0e1de8a9f2 ENH: Fix comment 2003-07-21 14:43:14 -04:00
Andy Cedilnik 4d311988b9 ENH: Initial framework for deprecated commands 2003-07-21 14:42:54 -04:00
Andy Cedilnik 8540b88e69 ENH: Handle ^ as [^fu] 2003-07-21 13:46:47 -04:00
Andy Cedilnik 11e212bfc2 ENH: Remove extra new line after the written string 2003-07-17 14:56:17 -04:00
Bill Hoffman 79c298e12c ENH: set CMAKE_SYSTEM_VERSION for windows 2003-07-16 15:38:31 -04:00
Brad King 8ca5266645 ENH: Added QUIET optional argument to block error message when _DIR variable is not set. Also removed upper-casing of package name. 2003-07-16 14:52:51 -04:00
Bill Hoffman f47b9d01ce ENH: remove local broken implementation of convert to windows path 2003-07-15 12:52:47 -04:00
Bill Hoffman aeab59d9e7 ENH: better error checking 2003-07-15 12:52:16 -04:00
Brad King 53510fa603 BUG: Custom commands should have variables expanded before comparing with previously added custom commands. 2003-07-14 10:33:09 -04:00
Ken Martin af8c7e7616 some updates 2003-07-14 10:13:30 -04:00
Ken Martin 24f4c279d9 some updates 2003-07-14 09:44:05 -04:00
Ken Martin eacc8da7e5 some updates 2003-07-14 09:31:29 -04:00
Andy Cedilnik 274535d366 ENH: Recurse subdirectories 2003-07-14 09:15:13 -04:00
Brad King 958987c27f ERR: Removed duplicate generator documentation.e 2003-07-10 23:22:09 -04:00
Brad King 7c2b4e3a02 ENH: Added SEE ALSO section to generated man page. Minor formatting improvements for generated text-only documentation. 2003-07-10 23:15:45 -04:00
Brad King c080627957 ENH: Added CMAKE_STANDARD_INTRODUCTION macro defining standard documentation for inclusion in every binary's documentation. 2003-07-10 23:14:49 -04:00
Brad King a04796ddcb ENH: Wrote basic description in full documentation block. 2003-07-10 23:14:11 -04:00
Brad King dda94a9693 ERR: Generated source files need access to kwsysPrivate.h. Just copy it to the build tree. 2003-07-10 14:46:48 -04:00
Andy Cedilnik 45ea83a694 ERR: Remove unused variable 2003-07-10 14:35:58 -04:00
Brad King d715fba1cb ENH: Added use of KWSYS_HEADER macro in c and cxx files to include kwsys headers through their configured namespace. 2003-07-10 14:32:30 -04:00
Andy Cedilnik b75c229444 ENH: Add test for string and file commands 2003-07-10 14:29:30 -04:00
Andy Cedilnik c4275f54c7 ENH: Add upper and lower case support. Close Bug #79 - STRING TOUPPER and TOLOWER 2003-07-10 13:25:54 -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 36880845b6 ERR: Using strncpy instead of snprintf for portability. 2003-07-09 16:18:14 -04:00
Andy Cedilnik d0964a349e ENH: Add MAKE_DIRECTORY and modify documentation 2003-07-08 16:33:29 -04:00
Andy Cedilnik cf9562694f ENH: Remove commented code 2003-07-08 16:27:13 -04:00
Andy Cedilnik 44fa93c8a7 ENH: More speedup 2003-07-08 15:54:24 -04:00
Andy Cedilnik 4494326f5e ENH: Attempt to speedup cmake of cmake on Windows 2003-07-08 15:47:18 -04:00
Andy Cedilnik db77d2e019 ENH: Add globbing to FILE command 2003-07-08 14:18:17 -04:00
Brad King 1a4ec91593 BUG#65: Fixed inheritance of CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR. 2003-07-08 13:27:34 -04:00
Bill Hoffman b274069b93 ENH: allow cancel and display of progress during cpu intensive configure steps 2003-07-08 13:12:10 -04:00
Andy Cedilnik 6566ba20ac ENH: Fix example 2003-07-08 09:21:45 -04:00
Brad King 6167fa8aa2 ERR: Added missing std::. 2003-07-08 00:28:23 -04:00
Brad King ed273acfa7 ENH: Improved name of cmake version variables. They are now CMake_VERSION (major.minor) and CMake_VERSION_FULL (major.minor.patch). 2003-07-07 23:20:30 -04:00
Brad King eb7b7dc104 BUG: Removed extra newlines from help text. 2003-07-07 22:54:26 -04:00
Brad King 1cecf7b5aa ENH: Added support to write multiple help options with one command line. Output files can now also be specified for the help options. 2003-07-07 22:44:18 -04:00
Brad King b85f000e26 ERR: Removed useless set. 2003-07-07 22:41:46 -04:00
Brad King 91f8f88490 ENH: Made ADD_DEPENDENCIES available from bootstrapped cmake. It will be needed to build cmake. 2003-07-07 22:41:27 -04:00
Brad King e5ed57ec18 ENH: Registered global generators are now kept in a table in the cmake instance. Added support for documentation with a Generators section. 2003-07-07 21:52:10 -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
Andy Cedilnik 372d2cbea9 ENH: Start working on a general file manipulation command 2003-07-07 17:47:17 -04:00
Andy Cedilnik 197368d9e7 ENH: Add optional argument to GetLineFromStream which can let the caller know whether there was a new line character at the end of the line that was just read 2003-07-07 17:45:51 -04:00
Brad King 78edd51671 ENH: Made call to FormatMessage more robust. 2003-07-07 09:38:14 -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 b5fec4a3c8 ENH: Implemented SetWorkingDirectory method. 2003-07-07 09:12:34 -04:00
Brad King 2b8bfb3b5d ENH: Implemented SetWorkingDirectory method on Windows. 2003-07-07 09:10:08 -04:00
Brad King ccc629702c ENH: Using kwsys Process implementation to implement RunCommand. 2003-07-07 08:41:28 -04:00
Andy Cedilnik 125b795637 ENH: Start working on Working Directory support 2003-07-07 08:36:40 -04:00
Brad King 179abe7ffe ENH: Using GetTempPath instead of TEMP environment variable to get a location to write the Win9x forwarding executable. 2003-07-06 20:40:51 -04:00
Brad King 33566642a0 BUG: Argument parsers do not always remove double quotes from around an argument that has no spaces. 2003-07-03 18:33:53 -04:00
Bill Hoffman f22a4a908d ENH: add linker flags 2003-07-03 12:50:41 -04:00
Bill Hoffman 711febc82d ENH: null terminate at the end of the list 2003-07-03 11:39:33 -04:00
Brad King edcaaabe99 BUG: Install target for standard header wrappers must point at the std subdirectory in the installation. 2003-07-03 07:58:07 -04:00
Brad King f24a0f17ea ERR: Added cast to remove warning. We know the length of the string will not be beyond 2^31. 2003-07-02 08:35:30 -04:00
Brad King cee10ceebd ERR: Added casts to remove type conversion warnings. Pointer differences can be 64-bit, but unsigned long is 32-bit on many platforms. We know we are not traversing more data than can be handled by an unsigned long, though, because the length argument is an unsigned long. 2003-07-01 13:32:28 -04:00
Brad King 6b1770932e ERR: Should use %p to pass HANDLE values on a command line, not %d. 2003-07-01 13:27:42 -04:00
Brad King 84b6583fca ERR: Removed unreachable code. 2003-07-01 13:27:22 -04:00
Brad King 83aa7b6b0b ERR: Reduced requirements on preprocessor for export macro due to limitations of Mac preprocessor. The preprocessor can be fixed by using -no-cpp-precomp, but we don't want to require that option for every source file that includes our headers. 2003-07-01 11:40:34 -04:00
Brad King 11de69901e ERR: Added explicit cast from size_t to int. We know that the data will not be out of range. 2003-07-01 08:54:42 -04:00
Andy Cedilnik 1f5defbdcf ERR: Remove warnings on Windows 2003-06-30 10:44:35 -04:00
Brad King ef76ed76f8 ENH: Added DLL support. 2003-06-30 10:30:38 -04:00
Brad King 6eb6225e2a Removing old file. 2003-06-30 10:07:11 -04:00
Brad King d24b9feaf3 ENH: Updated comments for doxygen. 2003-06-30 08:49:09 -04:00
Brad King f590483a0b BUG: Should define KWSYS_IN_BASE64_C, not KWSYS_IN_PROCESS_C. 2003-06-30 08:48:53 -04:00
Brad King a519a99114 ENH: Using FOREACH to shorten enabling of C components. 2003-06-30 08:48:31 -04:00
Andy Cedilnik 0f1af706b5 ENH: Initial import of Base64 2003-06-29 21:42:48 -04:00
Ken Martin bab4bcb570 fix compiler warnings 2003-06-27 08:46:00 -04:00
Brad King 7456fc360e ENH: Updated documentation to describe enabling of classes. 2003-06-26 13:39:35 -04:00
Brad King a778cd0f3d ERR: Fixed use of non-constant initializer. 2003-06-25 09:32:38 -04:00
Brad King 915972ff44 ERR: Fixed conversion warning. 2003-06-25 08:29:44 -04:00
Bill Lorensen 78ecb7f33f ERR: portability. 2003-06-24 21:37:02 -04:00
Ken Martin 7f34d64b0a compiler fix 2003-06-24 16:35:59 -04:00
Ken Martin 840389b64f moved depend code into cmTarget 2003-06-24 15:24:30 -04:00
Ken Martin e315bff47b performance improvements 2003-06-24 15:23:34 -04:00
Ken Martin 76b344c6fe performance improvements 2003-06-24 15:11:21 -04:00
Ken Martin 117f961a5a moved function into cmTarget 2003-06-24 15:10:47 -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 51eb9596bc ERR: std->kwsys_std. 2003-06-24 09:02:46 -04:00
Brad King 4435e364b8 ERR: Typedefs are not inherited on SGI and Borland. 2003-06-24 08:19:51 -04:00
Ken Martin b56dcc2a30 perf improvement 2003-06-23 16:26:48 -04:00
Ken Martin 116f39d840 performance improvement 2003-06-23 16:25:50 -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 b2368399d9 ERR: Fixed documentation to read RegularExpression instead of cmRegularExpression. 2003-06-23 14:05:23 -04:00
Ken Martin a5a067fa1c removed some no longer required code 2003-06-23 11:16:20 -04:00
Brad King dc3fd5c267 ENH: Merged use of kwsys library. 2003-06-23 08:58:58 -04:00
Brad King c5890b8c2e ENH: Configure script now just invokes bootstrap script. 2003-06-23 08:58:19 -04:00
Brad King 26d638c5d5 ENH: Removed cmake-specific functions. 2003-06-23 08:56:22 -04:00
Brad King be1fd8bfb5 BUG: Need include regular expression to match all files. 2003-06-23 08:56:03 -04:00
Ken Martin aaf2795050 fix to expand variables in custom command outputs and main dependencies 2003-06-20 20:33:43 -04:00
Brad King 653cb84f66 ENH: Changed configuration of header directory to specify it without the namespace. 2003-06-20 14:10:28 -04:00
Ken Martin 454c7ad2b6 bug in not expanding variables for custom commands in targets 2003-06-20 13:56:51 -04:00
Ken Martin e9e312b441 minor perf improvement 2003-06-20 11:23:47 -04:00
Brad King c21ad62987 ENH: Added full configuration of namespace even for Configure.hxx macro definitions. 2003-06-19 18:57:11 -04:00
Ken Martin 70c65ea016 bug fix for finding source files 2003-06-19 14:27:39 -04:00
Ken Martin 590460aaae new function 2003-06-19 14:27:01 -04:00
Brad King f72483c66a Tool to dump macros for redefining C header namespaces. 2003-06-18 17:28:22 -04:00
Brad King 322f906638 ENH: Added test for Process implementation. 2003-06-18 17:27:36 -04:00
Brad King 30f4c011b0 BUG: Must return Exception status correctly. 2003-06-18 17:27:10 -04:00
Brad King 5b6920ed16 Removed Exception_Abort because there is no windows version. Also made ExitValue consistent with windows when a signal kills the process. 2003-06-18 17:19:44 -04:00
Brad King f5bbacaa5c Removed Exception_Abort because there is no windows version. Also removed stray typedef keywords. 2003-06-18 17:19:16 -04:00
Brad King 7e80f2f874 ENH: Added documentation to interface. Finished process exit code interpretation implementation prototype. 2003-06-18 17:06:21 -04:00
Bill Hoffman 5394a75340 BUG: fix not being able to find generated files in the binary tree 2003-06-18 09:13:39 -04:00
Ken Martin 6309da4242 fix for bad assumption on custom rules 2003-06-17 17:13:56 -04:00
Ken Martin 40a985a38d fix for bad assumption 2003-06-17 16:54:49 -04:00
Ken Martin 7885db5eaf fix for bad assumption 2003-06-17 15:13:38 -04:00
Ken Martin f76d01d56a fix for vs6 rule files 2003-06-16 10:20:48 -04:00
Brad King a5d930a686 BUG: Fixed translation of relative path names to full path names. 2003-06-13 16:59:42 -04:00
Brad King dc87f60ca2 BUG: Fixed crash when source file cannot be looked up correctly. 2003-06-13 16:47:41 -04:00
Brad King abffd72cbb BUG: Fixed check for existence of CMakeLists.txt file in top-level source directory before first configure. 2003-06-13 14:15:17 -04:00
Brad King 751509cf10 ERR: Added error check for malloc of process control structure. 2003-06-12 16:18:07 -04:00
Brad King ef5214c6c5 ERR: Using GetCurrentProcessId instead of _getpid so we don't need to include the system process.h header. Also creating pipe threads with 1K stacks to save memory. 2003-06-12 15:58:30 -04:00
Brad King d92dcccb06 BUG: Uninitialized std::string returns bad pointers from c_str() on some platforms. 2003-06-11 11:00:59 -04:00
Brad King f8d19a24a5 ENH: EXECUTABLE_OUTPUT_PATH is now always set to get around cmake 1.6.7 dependency problems. Moved default header directory inside the build tree instead of up one level. User projects can now set the header directory. 2003-06-11 10:21:31 -04:00
Brad King 6effa1c7b0 ERR: Added custom command that takes advantage of new syntax. 2003-06-11 09:45:07 -04:00
Brad King bd2590ddb5 ERR: Removed unused variables. 2003-06-11 09:44:48 -04:00
Brad King 2db5cc8c31 BUG: When executable output path is not set, we still need to generate the full path to the executable target. 2003-06-11 09:44:31 -04:00
Brad King 9c1afa85e9 ERR: Added work-around for cmake 1.6.7 bug in borland makefile generator. 2003-06-10 17:39:44 -04:00
Brad King dc7f5c426f BUG: Need to add ANSI C flags for some platforms. 2003-06-10 16:56:13 -04:00
Brad King 1e77222b04 ERR: Added static specifier to static function definitions to quiet warnings on HP compiler. 2003-06-10 16:55:50 -04:00
Brad King 68a9683d0d BUG: Don't show a console application's window. 2003-06-10 16:15:16 -04:00
Brad King 6e23bcb50f ENH: Added use of process execution. 2003-06-10 15:50:45 -04:00
Brad King 96ccaed54d ENH: Added Process execution implementation. 2003-06-10 15:46:31 -04:00
Brad King 89cf5d538c ENH: Moved disabling of warnings to after kwsys includes. 2003-06-10 15:45:25 -04:00
Brad King c447874091 ENH: Disabled warning 4786. 2003-06-10 15:44:51 -04:00
Andy Cedilnik 65dcf074a1 BUG: When only loading ccmake cache, do not allow generate 2003-06-06 09:57:28 -04:00
Ken Martin 49c8ca5bca undid change because other changes make it no longer neccesary 2003-06-06 09:06:12 -04:00
Ken Martin 61a3e4fb80 more custom command 2003-06-05 16:45:06 -04:00
Ken Martin f698e306a7 more changes to support full paths 2003-06-05 16:12:25 -04:00
Ken Martin 5c217cf83f perf improvement 2003-06-05 15:28:51 -04:00