Commit Graph

2483 Commits

Author SHA1 Message Date
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
Ken Martin adbb5c5e79 more changes to handle full paths correctly 2003-06-05 15:18:16 -04:00
Ken Martin 59c70d9df7 minor update for new custom commands 2003-06-05 14:48:44 -04:00
Ken Martin 703242071f more crazt changes source files now must match with full path 2003-06-05 14:40:25 -04:00
Ken Martin d5d0f17e5c updated for new custom command 2003-06-05 14:37:35 -04:00
Ken Martin b1095dd2f0 minor fix 2003-06-05 14:37:00 -04:00
Ken Martin b53b467414 hopeful fix for backwards compat 2003-06-04 19:04:35 -04:00
Ken Martin 050190d455 minor fix 2003-06-04 18:50:48 -04:00
Ken Martin 72be61fb57 tricky fix for backwards compat 2003-06-04 16:06:33 -04:00
Bill Hoffman 11a698558e better error reporting 2003-06-04 14:01:46 -04:00
Bill Hoffman 620b832da3 ENH: allow duplicate commands with the same output to be reduced automatically to one command 2003-06-04 14:00:30 -04:00
Bill Hoffman 5be2ec1d47 bug fix for vs6 custom commands 2003-06-04 13:55:15 -04:00
Bill Hoffman fc0a916eee ENH: allow duplicate commands with the same output to be reduced automatically to one command 2003-06-04 13:42:42 -04:00
Bill Hoffman 3154a6649a command should nto be inherited 2003-06-04 11:46:18 -04:00
Bill Hoffman 8eda3791e7 bug fix 2003-06-04 10:13:01 -04:00
Ken Martin 904fb91a42 compielr warnings 2003-06-04 08:42:58 -04:00
Ken Martin 40123f1fce compielr errors on como 2003-06-04 08:40:09 -04:00
Ken Martin 0b3b21fa63 warning fixes 2003-06-03 14:55:20 -04:00
Ken Martin 3a4d2e248e better docs 2003-06-03 10:48:44 -04:00
Ken Martin 9c0aa78c0d better docs 2003-06-03 10:47:31 -04:00
Ken Martin ba68f771b3 yikes added new custom command support 2003-06-03 10:30:23 -04:00
Ken Martin eee69632d6 minor bug fix 2003-05-29 15:30:54 -04:00
Andy Cedilnik dfd22fdf23 ENH: On envocation of ccmake check if directories are correct, but do not rerun configure 2003-05-29 11:14:48 -04:00
Andy Cedilnik 1e09bc5dde ENH: Abstract pre configure check in a separate method 2003-05-29 11:14:05 -04:00
Bill Hoffman 0876c19dc8 ENH: remove warnings from borland 6 compiler 2003-05-29 09:34:06 -04:00
Andy Cedilnik cb9e995d0b ENH: Do not do configure first time. This way ccmake loads fast. 2003-05-28 15:52:54 -04:00
Bill Hoffman 8cb6645ad8 Remove some borland 6 warnings 2003-05-28 09:21:37 -04:00
Bill Hoffman ca773a5d6d ENH: add stdlib.h for portability to borland 6 2003-05-24 10:07:58 -04:00
Bill Hoffman 5945a5a448 ENH: add some includes for borland 6 2003-05-23 16:40:55 -04:00
Andy Cedilnik bf91178565 ERR: Attempt to fix more Curl warnings 2003-05-22 10:56:57 -04:00
Andy Cedilnik f5cf6676a7 ENH: Attempt to remove cast warnings 2003-05-22 10:42:29 -04:00
Bill Hoffman 5730bd6b1b fix for .def files and nmake and spaces in the path 2003-05-19 13:41:10 -04:00
Andy Cedilnik e031028e10 ERR: We should really copy the address and not the value 2003-05-19 09:05:54 -04:00
Brad King 1a1be82532 BUG: When building a C executable, we should add CMAKE_SHARED_LIBRARY_C_FLAGS, not CMAKE_SHARED_LIBRARY_LINK_FLAGS. The latter is already added by the link line procedure. 2003-05-16 15:20:56 -04:00
Andy Cedilnik 083aba04cf ERR: Attempt to remove more warnings 2003-05-16 15:15:42 -04:00
Brad King a843439d14 BUG: Work-around for SGI MipsPro bug where #error doesn't return an error to make. 2003-05-14 12:06:40 -04:00
Brad King 9b73353baa ENH: Default generator selection for VS 7.1 added. 2003-05-14 10:34:59 -04:00
Brad King cbef9d224d ERR: Fixed string literal->char* conversion warning. 2003-05-14 08:40:16 -04:00
Andy Cedilnik ce0f0838e1 ERR: Search for gethostbyname which is the one needed 2003-05-14 08:17:06 -04:00
Brad King 02f7cfbcbe BUG: Need to remove the MAKEFLAGS when cmake starts. If cmake is run from inside make, we don't want the try-compiles to inherit the makeflags. 2003-05-13 16:51:01 -04:00
Brad King 20b198835c ENH: When the initially configured generator is invalid, allow the user to change the generator without deleting the cache by hand. 2003-05-13 16:11:14 -04:00
Brad King a30148e640 ENH: Improved error message when a wrong generator is selected. 2003-05-13 14:26:16 -04:00
Bill Hoffman 32ca9c83cd Change name of 71 generator 2003-05-13 11:42:45 -04:00
Brad King 128e63aaf7 ERR: Removed use of std::string != operator due to bug in SGI compiler's library. 2003-05-13 09:50:43 -04:00
Brad King 10c9e5b991 ERR: Test for ansi streams may need to use iosfwd for test because some compilers provide an iostream header that is old streams. 2003-05-13 09:42:52 -04:00
Brad King 0c641ebc32 ERR: Added forward declarations of system functions for como compiler. 2003-05-13 08:38:49 -04:00
Andy Cedilnik a675af39a7 ERR: Fix warning 2003-05-13 08:27:02 -04:00
Andy Cedilnik 1b7ba8bdd9 ERR: Attempt to remove warnings 2003-05-12 17:15:36 -04:00
Bill Hoffman 1328164208 ERR: Remove a bunch of warnings on SGI 2003-05-12 17:11:45 -04:00
Andy Cedilnik 70d3fe1a34 ERR: Do not link nsl if not necessary 2003-05-12 17:10:43 -04:00
Brad King 3651096aad ENH: Added KWSYS_FORCE_OLD_STREAMS option to force use of non-ansi stream headers even if they are available. 2003-05-12 13:43:03 -04:00
Brad King a63e6b5af3 ENH: Removed old (unused) StandardIncludes header. 2003-05-12 13:33:21 -04:00
Brad King 249d29030e ERR: Need to move forward declarations of non-ansi streams into std namespace when it is available. 2003-05-12 13:27:00 -04:00
Brad King b910480e32 ENH: Added wrappers around the std stream headers to make them look like ansi streams on all platforms. 2003-05-12 13:15:49 -04:00
Bill Hoffman 6112e7fc16 add support for vs 71 2003-05-08 16:59:27 -04:00
Brad King 93f806e563 ERR: Fixed arguments to kwsys's ADD_TEST call for msvc6. 2003-05-08 16:52:19 -04:00
Brad King 1d719af47b BUG: Need to invert test result for ansi string stream. 2003-05-08 16:48:13 -04:00
Brad King 8e03931414 ENH: Added kwsys test. 2003-05-08 14:49:52 -04:00
Brad King 43419192cb ENH: Reduced header dependencies and cleaned up inclusion of standard headers. 2003-05-08 14:46:23 -04:00
Brad King 332f402191 ENH: Setup for testing as a stand-alone project. 2003-05-08 14:17:26 -04:00
Andy Cedilnik 3bb2f6f655 ERR: Remove warning 2003-05-07 10:31:05 -04:00