Commit Graph

6243 Commits

Author SHA1 Message Date
Brad King 9a1d4e92eb BUG: Fix/cleanup custom commands and custom targets. Make empty comment strings work. Fix ZERO_CHECK target always out of date for debugging. Fix Makefile driving of custom commands in a custom target. Fix dependencies on custom targets not in ALL in VS generators. 2006-09-28 16:40:35 -04:00
Brad King 7d2de52c1a ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed. 2006-09-28 13:55:26 -04:00
Brad King d01b6f1281 ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786. 2006-09-28 11:30:49 -04:00
Brad King 019dabc97f BUG: MSYS makefile shell needs posix paths to executables in some cases and it does not hurt to do it always. 2006-09-28 10:37:19 -04:00
Brad King 0b135767d6 BUG: Do not filter system directories for include file dependencies. 2006-09-28 09:49:40 -04:00
Andy Cedilnik c717db3b88 STYLE: Nightly Version update 2006-09-28 02:33:40 -04:00
Brad King 16cafd5cdf COMP: Fix init order. 2006-09-27 16:20:47 -04:00
Brad King e5549cff25 BUG: One should be able to escape the @ symbol. 2006-09-27 16:14:16 -04:00
Brad King 4babd52d8d BUG: The copy constructor should copy the escape settings. 2006-09-27 15:26:03 -04:00
Brad King dd332a00cc ENH: Re-implemented command line argument shell quoting to support several platforms with one code base. 2006-09-27 13:43:46 -04:00
Brad King 61d3b2f1fb STYLE: Fixed line-too-long. 2006-09-27 12:55:58 -04:00
Andy Cedilnik e10f739571 BUG: Handle header file dependencies for objective C 2006-09-26 08:04:23 -04:00
Andy Cedilnik 2912432cbc STYLE: Nightly Version update 2006-09-26 02:30:59 -04:00
Brad King 1d11927f65 COMP: Removed yyunput function to avoid warning. 2006-09-25 18:33:27 -04:00
Brad King aa8d37bdc8 COMP: Restoring previous AIX fix. 2006-09-25 14:01:49 -04:00
Brad King c1b4a0bf74 BUG: Disable new shell escape code until backward compatibility can be established in the new implementation. 2006-09-25 10:22:48 -04:00
Brad King 97c97730a6 BUG: Character + should be valid in a variable name. 2006-09-25 10:05:07 -04:00
Andy Cedilnik cba6306b86 STYLE: Nightly Version update 2006-09-25 02:39:16 -04:00
Andy Cedilnik 2e6f937ee8 STYLE: Nightly Version update 2006-09-24 02:40:49 -04:00
Andy Cedilnik c9fd17b884 BUG: Attempt to fix winzip problems 2006-09-23 14:41:08 -04:00
Andy Cedilnik cf02e44514 STYLE: Nightly Version update 2006-09-23 02:33:47 -04:00
Ken Martin 5e46232ad8 ENH: added elseif 2006-09-22 11:23:51 -04:00
Andy Cedilnik bffc8ca59f STYLE: Nightly Version update 2006-09-22 02:19:01 -04:00
Brad King a8426f55e5 COMP: Fix shadowed local variable created by previous cmake_force change. 2006-09-21 17:21:13 -04:00
Brad King b9fc06735d BUG: Enabled use of EscapeForShell to properly escape custom command lines. This addresses bug#3786 for Xcode. 2006-09-21 16:10:47 -04:00
Brad King 6d72bb5ae1 BUG: Need to escape spaces in custom command line arguments. 2006-09-21 15:35:41 -04:00
Brad King 45a44a70b3 BUG: Do not escape parens because we need to be able to reference make variables in the scripts. 2006-09-21 15:30:06 -04:00
Brad King 2459ceb076 BUG: Centralized generation of command line arguments in escaped form. This addresses bug#3786 for several platforms. 2006-09-21 15:14:06 -04:00
Andy Cedilnik 0952a96485 ENH: Handle zip (command line was too long) 2006-09-21 15:09:34 -04:00
Brad King d5d8687d16 BUG: Windows_ShellArgument: need to escape if the string contains one of a set of special characters as well as spaces. Moved test for needing escapes to a separate method kwsysSystemWindowsShellArgumentNeedsEscape. 2006-09-21 14:46:40 -04:00
Brad King 683346fa3d ENH: Adding 'System' component of C sources to hold system tools written in C. Moved windows shell command line argument escaping code to kwsysSystem_Windows_ShellArgument and kwsysSystem_Windows_ShellArgumentSize. 2006-09-21 11:49:36 -04:00
Brad King b6e8574ab1 ENH: Added KWSYS_SHARED_FORWARD_OPTION_COMMAND option to allow users to replace the command executed. Extended documentation at top of file. 2006-09-21 10:04:55 -04:00
Andy Cedilnik ef8771ed75 STYLE: Nightly Version update 2006-09-21 02:11:14 -04:00
Brad King 358b947072 BUG: cmake_force needs to be written into build.make as well as Makefile. 2006-09-20 12:13:50 -04:00
Andy Cedilnik 194ef33a72 STYLE: Nightly Version update 2006-09-20 02:13:06 -04:00
Andy Cedilnik 627758b7ae STYLE: Nightly Version update 2006-09-19 02:17:14 -04:00
Andy Cedilnik 572f2c72b3 STYLE: Nightly Version update 2006-09-18 02:36:53 -04:00
Andy Cedilnik a30c24a63a STYLE: Nightly Version update 2006-09-17 09:24:01 -04:00
Brad King 79d6047117 STYLE: Fixed line-too-long. 2006-09-16 11:54:19 -04:00
Brad King 4a3a9eb883 BUG: Do not look for linker language unless it is needed. 2006-09-16 11:52:00 -04:00
Andy Cedilnik 0a4e2020b5 STYLE: Nightly Version update 2006-09-16 09:19:33 -04:00
Brad King 1d0502927c ENH: Adding support to link specifically to an archive or a shared library based on the file name specified. This fixes the problem of having -lfoo linking to libfoo.so even when it came from libfoo.a being specified. 2006-09-15 14:09:10 -04:00
Andy Cedilnik 6b7bec6203 STYLE: Nightly Version update 2006-09-15 09:23:28 -04:00
Andy Cedilnik 070f58186a STYLE: Nightly Version update 2006-09-14 09:09:15 -04:00
Brad King 6a347e9858 ENH: Patch from Alex to speed dependency scanning approximately 2x. 2006-09-13 12:43:32 -04:00
Brad King 6ce165de43 ENH: Added diagnosis of bad target names. 2006-09-13 11:39:46 -04:00
Andy Cedilnik f5b118f5a1 STYLE: Nightly Version update 2006-09-13 08:55:46 -04:00
Bill Hoffman eb3da1cdf3 ENH: put the if in the right place 2006-09-12 10:21:47 -04:00
Bill Hoffman 0406aace34 ENH: fix for BUG: #739 again, makefiles did not depend on external full path libraries 2006-09-12 10:03:57 -04:00
Andy Cedilnik f8211e5e4d STYLE: Nightly Version update 2006-09-12 09:18:32 -04:00
Andy Cedilnik b177af76d0 STYLE: Nightly Version update 2006-09-10 22:26:27 -04:00
Andy Cedilnik 99d650a33c STYLE: Nightly Version update 2006-09-09 21:06:39 -04:00
Andy Cedilnik bcbfa62364 STYLE: Nightly Version update 2006-09-08 22:51:54 -04:00
Brad King 76f6ea8011 BUG: Fixed ordering of code generated in Makefile and build.make files to make sure .SUFFIXES rule comes as early as possible. Also cleaned up documentation in generated files. 2006-09-08 10:42:14 -04:00
Brad King cff915cb8e STYLE: Fixed line-too-long. 2006-09-08 10:39:51 -04:00
Andy Cedilnik e37ab55fef STYLE: Nightly Version update 2006-09-08 09:58:13 -04:00
Brad King d458764791 ENH: Patch from Toni Timonen to allow cross-compiling of DLLs. 2006-09-07 10:05:12 -04:00
Andy Cedilnik 64231a20a2 STYLE: Nightly Version update 2006-09-07 08:58:46 -04:00
Andy Cedilnik 83588016ae STYLE: Nightly Version update 2006-09-06 09:10:35 -04:00
Andy Cedilnik 8be3602c93 STYLE: Nightly Version update 2006-09-05 09:01:35 -04:00
Andy Cedilnik c558899b32 STYLE: Nightly Version update 2006-09-04 09:04:03 -04:00
Andy Cedilnik c5f4d2d024 STYLE: Nightly Version update 2006-09-03 09:00:18 -04:00
Brad King fd8236c862 BUG: Patch from Alex to fix name of includecache files to not look like source files. 2006-09-02 10:51:54 -04:00
Andy Cedilnik 6b9c463ddf STYLE: Nightly Version update 2006-09-02 09:03:36 -04:00
Brad King 57eb30087f STYLE: Fixed line-too-long warning. 2006-09-01 09:51:28 -04:00
Andy Cedilnik 6932bbd8d6 STYLE: Nightly Version update 2006-09-01 08:58:12 -04:00
Brad King e09dd5db09 BUG: Fix automatic computation of binary path to work for subdirectories of out of source directories. This addresses bug#3592. 2006-08-31 16:40:38 -04:00
Brad King 409f70bc91 ENH: Make sure all custom command outputs are up to date before scanning dependencies. This avoids the need to pass a list of generated files to the dependency scanning code and to rescan after the files have been generated. Currently there is no notion of implicit dependencies of the custom commands themselves so this design is safe. We only need to make sure implicit dependencies are up to date before the make process for the /build part of a target is executed because only this process loads them. This is a step towards fixing bug#3658. 2006-08-31 14:09:56 -04:00
Brad King f12742d6cd ENH: Patch from Alex to add IsDiscouraged method for future use in generating separate documentation for old commands. Also modified documentation of MAKE_DIRECTORY and REMOVE commands to indicate they should not be used. 2006-08-31 13:20:12 -04:00
Brad King 239fce5caa ENH: Do not generate install target unless some INSTALL or INSTALL_* commands have been used. This addresses bug#2827. 2006-08-31 10:47:00 -04:00
Andy Cedilnik 43c84a2a56 STYLE: Nightly Version update 2006-08-31 09:03:37 -04:00
Brad King 712f3a3da4 COMP: Fix try-compile to fail properly on HP. 2006-08-30 13:59:56 -04:00
Andy Cedilnik 416738b721 STYLE: Nightly Version update 2006-08-30 10:00:28 -04:00
Brad King 11d5caf201 ENH: Patch from Alex to fix current working directory when running executables built in KDevelop. 2006-08-29 16:08:32 -04:00
Brad King 51607bd675 ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This addresses bug#3572. 2006-08-29 15:08:31 -04:00
Brad King 27a67fb72f ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This addresses bug#3572. 2006-08-29 15:04:29 -04:00
Ken Martin bdb530191d BUG: bad progress for named top level targets 2006-08-29 12:55:11 -04:00
Brad King 21d7a242fd COMP: Fix warnings in system headers on VS6. 2006-08-29 10:27:50 -04:00
Brad King eef327b944 ENH: Adding install/local global target for Makefile generators. This runs installation only in the current directory and not subdirectories. 2006-08-29 10:03:47 -04:00
Andy Cedilnik 8a761b8f96 STYLE: Nightly Version update 2006-08-29 09:40:25 -04:00
Andy Cedilnik 005e3b1f86 STYLE: Nightly Version update 2006-08-28 08:55:52 -04:00
Brad King a30e054641 COMP: Use new KWSys IOStream component to help print large file size integer types to streams. 2006-08-27 13:23:54 -04:00
Brad King c500078dcc ENH: Adding KWSys component IOStream to provide help with broken C++ stream libraries. 2006-08-27 13:17:23 -04:00
Brad King 2b602ea738 COMP: Need to use cmsys_stl when in CMake code, not kwsys_stl. 2006-08-27 13:15:39 -04:00
Brad King 703c0e32c8 BUG: Need to undefine temporary macros defined at top of file. 2006-08-27 12:35:54 -04:00
Brad King ff930f75aa BUG: When a try-run fails to compile create the run result cache entry with a bogus non-zero return value to avoid running the test again. 2006-08-27 11:25:15 -04:00
Andy Cedilnik aef312fbcf STYLE: Nightly Version update 2006-08-27 09:57:17 -04:00
Brad King dc0c5d082b BUG: GetLineFromStream should remove carriage return characters to make sure newlines do not get duplicates. 2006-08-26 16:14:26 -04:00
Brad King e61eac3f05 BUG: Fix location of CMakeOutput.log and CMakeError.log. 2006-08-26 15:17:20 -04:00
Brad King ff9c167e64 BUG: Reverting previous change until it is further tested. 2006-08-26 14:43:08 -04:00
Brad King 7a31bc8521 BUG: ConfigureFile must read/write in binary mode to avoid windows newline trouble. The problem occurred when configuring a file in cygwin from a path starting with a windows drive letter instead of a posix path. 2006-08-26 14:37:31 -04:00
Brad King 9b89d84210 STYLE: Fixed line-too-long. 2006-08-26 10:29:11 -04:00
Brad King 5d632330b6 STYLE: Fixed line-too-long. 2006-08-26 10:22:23 -04:00
Andy Cedilnik 13d778fee9 STYLE: Nightly Version update 2006-08-26 09:42:51 -04:00
Brad King 7e47f8496a BUG: Fix for VS.NET 2003 SP1 to make sure global target and utility target rules run every time. 2006-08-25 22:56:41 -04:00
Brad King ed6791c898 BUG: Make sure targets of type GLOBAL_TARGET have a makefile set. 2006-08-25 22:56:36 -04:00
Brad King 209a3d4f7b COMP: Disable _FILE_OFFSET_BITS check until sys/types.h check is enabled. 2006-08-25 16:32:47 -04:00
Brad King 6449089436 ENH: Patch from Alex for adding IF(FILE_IS_NEWER). I also added a test. 2006-08-25 16:31:07 -04:00
Brad King ebf532b106 ENH: Separate the notion of a request for LFS and its availability. Allow user code to block definitions of LFS macros. Added framework to give error if sys/types.h is included before this header when LFS is requested (currently disabled). 2006-08-25 16:07:06 -04:00
Brad King ffb1a9f80a ENH: Moved test for large file support into kwsysPlatformCxxTests.cxx with name KWSYS_LFS_WORKS. 2006-08-25 16:00:10 -04:00
Brad King 6c75c03143 ENH: Switching KWSYS_CHAR_IS_SIGNED test to use KWSYS_PLATFORM_CXX_TEST_RUN macro. 2006-08-25 15:53:03 -04:00
Brad King 3e572c936c ENH: Added KWSYS_PLATFORM_CXX_TEST_RUN macro. 2006-08-25 15:50:45 -04:00
Brad King 6849ae856b ENH: Globbing patterns should not match a slash inside a filename component. 2006-08-25 12:13:37 -04:00
Brad King b4e1de7886 BUG: Avoid putting double-slashes in fromFile during installation. Also added regex debugging copy of the expression in string form. 2006-08-25 12:11:21 -04:00
Andy Cedilnik 6e97ab1113 STYLE: Nightly Version update 2006-08-25 05:35:49 -04:00
Brad King 0bd4649fe6 COMP: Added missing include for malloc on QNX. 2006-08-24 14:58:22 -04:00
Brad King 1fec884bcb COMP: Add missing malloc.h include for QNX. 2006-08-24 09:34:53 -04:00
Andy Cedilnik 67944af403 STYLE: Nightly Version update 2006-08-24 09:08:50 -04:00
Andy Cedilnik 8c38610588 COMP: Attempt to fix aix build 2006-08-23 12:02:30 -04:00
Ken Martin 94e908ff2d ENH: fix bad error reporting with not found paths 2006-08-23 10:21:31 -04:00
Andy Cedilnik 2994f3a158 COMP: Add large files support to CMake 2006-08-23 10:00:11 -04:00
Brad King 77cf2b85b0 ENH: Added '256color' terminal names. Patch applied from bug#3651. 2006-08-23 09:47:43 -04:00
Brad King f826c6c58b ENH: Centralized generation of targets listed in the help to be done by the code that actually writes the targets. 2006-08-23 09:45:24 -04:00
Andy Cedilnik 539e5ac4c2 STYLE: Nightly Version update 2006-08-23 09:04:49 -04:00
Andy Cedilnik 22995b56f6 COMP: Support cmake older than 2.4 2006-08-23 08:07:41 -04:00
Andy Cedilnik b50691bb49 ENH: Handle more warnings properly on AIX 2006-08-22 16:07:20 -04:00
Andy Cedilnik b2c06bb0f8 COMP: On some project configure may not copy right away 2006-08-22 15:51:52 -04:00
Andy Cedilnik 6f5dc00682 COMP: Add missing cmake file 2006-08-22 15:48:19 -04:00
Andy Cedilnik 0ec4b84c91 COMP: Add missing cmake file 2006-08-22 15:46:22 -04:00
Andy Cedilnik d510ef2557 ENH: Support large file systems in kwsys 2006-08-22 15:34:14 -04:00
Brad King 211e991057 BUG: Fixed man page formatting for INSTALL command documentation. Fixed line-too-long warning. 2006-08-22 10:38:10 -04:00
Andy Cedilnik c9eaf72567 BUG: Add missing API 2006-08-22 10:16:46 -04:00
Andy Cedilnik 6f7bb4d826 BUG: Fix error messages and fix remove item to actually remove all instances of the item 2006-08-22 09:52:53 -04:00
Andy Cedilnik 377e4c132f COMP: Remove warnings 2006-08-22 09:20:44 -04:00
Andy Cedilnik 4f784e3024 STYLE: Nightly Version update 2006-08-22 08:58:26 -04:00
Brad King 0839e905c6 BUG: Fixed #if test for case-insensitive glob on OSX. 2006-08-21 22:39:03 -04:00
Brad King c99dcc30be BUG: Directory installation pattern matching should be case insensitive on some platforms. 2006-08-21 17:47:51 -04:00
Brad King c58777ec47 BUG: FileIsDirectory should work when the name contains a trailing slash. 2006-08-21 17:34:40 -04:00
Brad King bed79f6c6b ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized cmFileCommand's implementation of FILE(INSTALL) a bit to help out. This addresses bug#1694 and partially addresses bug#2691. 2006-08-21 16:55:03 -04:00
Brad King f1ea7e88dc ENH: Exposed pattern->regex API. Cleaned up and commented implementation of pattern->regex conversion. 2006-08-21 14:17:58 -04:00
Andy Cedilnik 07fa9ac09c ENH: Implement TarCompress generator using compress library 2006-08-21 12:37:40 -04:00
Brad King ba9c97ccec BUG: RENAME option should be allowd for INSTALL(PROGRAMS) too. 2006-08-21 10:49:17 -04:00
Andy Cedilnik 129457c1e2 STYLE: Nightly Version update 2006-08-21 08:29:11 -04:00
Andy Cedilnik 8c3f948f63 STYLE: Nightly Version update 2006-08-20 06:53:48 -04:00
Andy Cedilnik 5ff3d5d97e STYLE: Nightly Version update 2006-08-19 06:53:10 -04:00
Brad King 7b58ed7813 STYLE: Fixed line-too-long style errors. 2006-08-18 08:57:17 -04:00
Andy Cedilnik 21b1ecb97b STYLE: Nightly Version update 2006-08-18 08:51:03 -04:00
Bill Hoffman f39e1c780e ENH: fix project names to be case sensitive and change name to linkline from inkline 2006-08-17 16:40:41 -04:00
Brad King 0525d8be58 BUG: Bundle installation needs all file permissions to be preserved from the build tree. 2006-08-17 15:42:38 -04:00
Brad King fa70bf5b28 ENH: Making documentation even less ambiguous since some users still think this command can generate a file with dependencies. 2006-08-17 15:06:37 -04:00
Brad King 8a72d43c17 ENH: Started implementing INSTALL(DIRECTORY) command mode. This is not yet finished so it is undocumented and there is no test. These changes also separate the notions of file and directory permissions. 2006-08-17 14:48:54 -04:00
Brad King b642ffa7a8 ENH: Fix directory installation to properly deal with trailing slash names (using the rsync convention for whether the last directory name is included in naming the destination directory). 2006-08-17 12:07:51 -04:00
Brad King 3a44f2a47e ENH: Added JoinPath overload that accepts an iterator range. 2006-08-17 12:02:18 -04:00
Andy Cedilnik 94108262c1 STYLE: Nightly Version update 2006-08-17 07:28:32 -04:00
Bill Hoffman 11d18d65dc ENH: revert change in parser as it sent the parser into an infinite loop 2006-08-16 14:22:40 -04:00
Andy Cedilnik 93f8880ca1 STYLE: Nightly Version update 2006-08-16 08:12:19 -04:00
Brad King 276e7e21a3 ENH: Adding flags to force generation of manifest files when building with VC 8. 2006-08-15 15:33:20 -04:00
Brad King c7daee6860 BUG: Need to clean manifest files that may have been generated for .exe and .dll files. 2006-08-15 15:28:29 -04:00
Brad King c6f1a11480 BUG: Added object language to list of object files in a local generator's directory. Fixed generation of preprocessing and assembly rules to be done only for C and C++ objects. 2006-08-15 12:00:27 -04:00
Bill Hoffman 7169980b59 ENH: change comment for fortran depend parsing 2006-08-15 10:56:00 -04:00