Commit Graph

6912 Commits

Author SHA1 Message Date
Andy Cedilnik e900dca788 STYLE: Nightly Version update 2007-05-02 01:09:45 -04:00
Alexander Neundorf dcb3badcd7 STYLE: fix typo
Alex
2007-05-01 17:02:19 -04:00
Brad King c51c245efa BUG: A utility target should not run the custom commands from its source files directly. The target-level rule must add dependencies on the file-level custom commands to drive them. This bug was introduced by the "fix" to bug 4377. This also restores the documented behavior that PRE_BUILD rules are treated as PRE_LINK rules on non-VS generators. Also fixed custom command dependencies on the rule file build.make so that custom commands re-run when the commands themselves change. 2007-05-01 13:51:25 -04:00
Alexander Neundorf ef0b9ff2cc BUG: fix cmake listfile stack: if a file could not be opened, remove it from
the stack (usually CMakeCInformation.cmake and CMakeCXXInformation.cmake
which both put Linux-gcc.cmake on the stack without removing it again:
INCLUDE(... OPTIONAL) )
STYLE: better readable output formatting of the listfile stack, now in the
same order as in gdb or with include files

Alex
2007-05-01 11:46:47 -04:00
Andy Cedilnik c7873ad44a STYLE: Nightly Version update 2007-05-01 04:20:03 -04:00
Andy Cedilnik f14993a78e STYLE: Nightly Version update 2007-04-29 23:33:25 -04:00
Andy Cedilnik e7a99a22d5 STYLE: Nightly Version update 2007-04-29 03:05:55 -04:00
Andy Cedilnik ea97dbae25 STYLE: Nightly Version update 2007-04-28 12:35:57 -04:00
Brad King bceb1532c6 STYLE: Fixed line too long. 2007-04-28 08:25:10 -04:00
Andy Cedilnik be04cb2c45 STYLE: Nightly Version update 2007-04-27 10:26:38 -04:00
Andy Cedilnik a7019a5253 STYLE: Add somme comments 2007-04-27 09:01:22 -04:00
Andy Cedilnik 64e0459f93 ENH: Initial attempt to do python coverage. Hopefully will not break coverage on GCov 2007-04-26 23:20:12 -04:00
Andy Cedilnik 1d4613a63b ENH: Add STRING STRIP command 2007-04-26 21:50:52 -04:00
Brad King 6697979aaf COMP: Avoid warning. 2007-04-26 09:56:04 -04:00
Andy Cedilnik 93c2ab934e STYLE: Nightly Version update 2007-04-26 07:58:54 -04:00
Brad King b81eff588d STYLE: Fixed line-too-long. 2007-04-25 17:48:51 -04:00
Brad King 0fb689973e ENH: Added FILE(STRINGS) command. 2007-04-25 17:22:07 -04:00
Andy Cedilnik 2a610dc552 STYLE: Nightly Version update 2007-04-25 05:01:41 -04:00
Bill Hoffman 31e3e829dd ENH: fix docs 2007-04-24 14:03:25 -04:00
Bill Hoffman 32aecc84a1 ENH: fix seg fault in ccmake when hitting configure twice 2007-04-24 12:30:25 -04:00
Andy Cedilnik 04448b9e03 STYLE: Nightly Version update 2007-04-24 01:52:03 -04:00
Brad King cdc161f380 COMP: Added missing include for time. 2007-04-23 16:48:56 -04:00
Ken Martin c4fc2c19c7 ENH: Add command to generate random strings 2007-04-23 11:04:12 -04:00
Andy Cedilnik e9361e41f3 STYLE: Nightly Version update 2007-04-22 23:55:06 -04:00
Andy Cedilnik 472c05cdcd STYLE: Nightly Version update 2007-04-21 18:37:35 -04:00
Brad King 1ef33c6c04 COMP: Make sure gcc 2.96 sstream header is not used. 2007-04-20 11:53:35 -04:00
Brad King 60d0d429b8 COMP: Added istringstream::clear() method to disambiguate the call from using string::clear or istrstream::clear. 2007-04-20 09:50:46 -04:00
Brad King 0b0258c548 BUG: Reverting previous change. It did not account for the possibility that the loaded command was built with a different compiler. 2007-04-20 09:49:27 -04:00
Andy Cedilnik b85d7d9c66 STYLE: Nightly Version update 2007-04-20 04:33:20 -04:00
Brad King a43b3cc801 BUG: Need to clear read failure when string is reset. 2007-04-19 12:56:07 -04:00
Brad King 6984c09310 ENH: Added testing for istringstream and stringstream. 2007-04-19 12:53:13 -04:00
Brad King 94e27c1073 BUG: Fix stream state on successfully reading a string. 2007-04-19 12:44:04 -04:00
Brad King ded4cb6f8d COMP: Fixes for Watcom. 2007-04-19 12:12:19 -04:00
Brad King d5cb9b1a0d COMP: Skip testAutoPtr and testHashSTL on Watcom. They are hopeless. 2007-04-19 12:11:56 -04:00
Brad King d75bfedab5 COMP: Need to include header for unlink function. 2007-04-19 12:11:16 -04:00
Brad King 16be80b7b4 ENH: Added support for Watcom compiler. Added TODO comment about calling conventions. 2007-04-19 11:31:55 -04:00
Brad King a7efb3feb7 ENH: Removed code unnecessary now that DynamicLoader is implemented better. 2007-04-19 11:23:04 -04:00
Brad King 28f6b148f6 ENH: Fixed stl string streaming operators for Watcom. 2007-04-19 11:21:35 -04:00
Andy Cedilnik affd99a9a9 STYLE: Nightly Version update 2007-04-19 04:01:16 -04:00
Brad King 47159b69be BUG: Fix ComputeLinkInformation. When using a loader_flag link item the full per-configuration path should be used. The fullPathLibs returned should refer to the import library if it was used. Since the full paths are used for dependencies the executable used with loader_flag should be returned also. 2007-04-18 09:56:06 -04:00
Andy Cedilnik 1b00feb0de STYLE: Nightly Version update 2007-04-18 04:12:51 -04:00
Brad King 3fe86c98cf ENH: Plugin test should now work on QNX. 2007-04-18 00:12:16 -04:00
Brad King 4241e699c7 BUG: Cannot escape link items because some need the spaces to separate arguments. Instead just escape the argument to the loader flag. 2007-04-18 00:04:56 -04:00
Brad King 721ff36924 ENH: Added platform variable CMAKE_EXE_EXPORTS_<lang>_FLAG to add a linker flag when building executables that have the ENABLE_EXPORTS property set. 2007-04-17 23:39:47 -04:00
Brad King 07b9423e7d BUG: Fix ComputeLinkInformation for non-linked targets. Why is it called for utility targets anyway? 2007-04-17 23:16:35 -04:00
Brad King fc9ceda5e7 ENH: Fixed Plugin test on Cygwin. 2007-04-17 18:18:42 -04:00
Brad King cb190cdb87 BUG: Disable Plugin test on Cygwin until it is implemented. 2007-04-17 16:42:15 -04:00
Brad King fe5386be81 ENH: Re-enabling Plugin test now that it should work on MacOSX. I will let it run one night to see what platforms are still not implemented. Currently it is not run on QNX because it is known to not be implemented there. 2007-04-17 16:34:07 -04:00
Brad King f9f5772557 ENH: Added use of platform variable CMAKE_SHARED_MODULE_LOADER_<lang>_FLAG to add a special flag when linking a plugin to an executable that loads it. 2007-04-17 16:11:00 -04:00
Brad King 84584e1184 BUG: Disable Plugin test until it works everywhere. 2007-04-17 15:06:04 -04:00
Brad King 0164f2faae ENH: Added test for executables with plugins that use an API exported by the executable itself. 2007-04-17 14:08:30 -04:00
Andy Cedilnik c50dabff02 STYLE: Nightly Version update 2007-04-17 04:48:21 -04:00
Andy Cedilnik 0aae2ce6ec STYLE: Nightly Version update 2007-04-16 04:03:17 -04:00
Andy Cedilnik ee4ab6385e STYLE: Nightly Version update 2007-04-15 03:46:09 -04:00
Andy Cedilnik 14a53e65ea STYLE: Nightly Version update 2007-04-14 02:53:21 -04:00
Ken Martin a500b3da05 ENH: better progress for any directory that is a project 2007-04-13 10:22:33 -04:00
Andy Cedilnik e855341a1a STYLE: Nightly Version update 2007-04-13 01:06:52 -04:00
Andy Cedilnik 5981d23d0e STYLE: Fix line lengths 2007-04-12 15:50:39 -04:00
Ken Martin 2a1e2456ae ENH: some code consolidation and cleanup 2007-04-12 15:46:14 -04:00
Ken Martin b4de606bdd BUG: fix progress for ENCLUDE_FORM_ALL cases using new project to target map. Only fixes it for the top level all target 2007-04-12 14:21:58 -04:00
Brad King 688ebad20e ENH: Added KWSYSPE_DEBUG macro to print debugging trace information. Added TODO comment explaining why process execution can still hang when a grandchild keeps the output pipes open. 2007-04-12 10:56:20 -04:00
Andy Cedilnik 0a0e89ee8a STYLE: Nightly Version update 2007-04-11 17:22:15 -04:00
Andy Cedilnik f9f1ccadb3 ENH: Add variable watch command 2007-04-11 15:13:05 -04:00
Brad King 76e5344590 STYLE: Fixed line-too-long. 2007-04-11 10:00:56 -04:00
Andy Cedilnik 51afbced0f STYLE: Nightly Version update 2007-04-10 21:47:41 -04:00
Brad King 5239769f5c BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition. 2007-04-10 16:03:10 -04:00
Brad King 94672aa75a BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition. 2007-04-10 15:55:49 -04:00
Brad King 996f391593 BUG: The ALL_BUILD target should not have any command lines so that it is not always considered out of date. Moved the 'Build all projects' message into the description field instead of an echo in the command field. Moved common implementation of Generate for VS6 and VS7 into the superclass to avoid duplicate code for the ALL_BUILD target. This addresses bug#4556. 2007-04-10 13:09:03 -04:00
Brad King a017333d9a ENH: Added option CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the default permissions for shared libraries include the executable bit. This is necessary to support the conflicting policies of Debian and Fedora. These changes address bug#4805. 2007-04-10 11:22:15 -04:00
Ken Martin 8b0c61c322 ENH: added internal target property for the name of the project file 2007-04-10 09:54:01 -04:00
Brad King 5415b65067 STYLE: Added comment about why dependencies need to be chained to clarify code. 2007-04-10 08:49:42 -04:00
Andy Cedilnik ef756114d5 STYLE: Nightly Version update 2007-04-09 21:25:48 -04:00
Andy Cedilnik 910d629ed4 STYLE: Nightly Version update 2007-04-08 21:44:56 -04:00
Andy Cedilnik d2b9dd6353 STYLE: Nightly Version update 2007-04-07 21:23:10 -04:00
Andy Cedilnik 6a213c846f STYLE: Nightly Version update 2007-04-06 21:42:35 -04:00
Andy Cedilnik 0016ff7387 STYLE: Nightly Version update 2007-04-05 21:57:55 -04:00
Brad King cc13a060c6 STYLE: Fix line-too-long. 2007-04-05 09:19:29 -04:00
Andy Cedilnik ebabf0cf75 STYLE: Nightly Version update 2007-04-04 17:02:21 -04:00
Brad King 438a7e2fce BUG: Fix utility dependencies for static libraries in VS generators. This addresses bug#4789. 2007-04-04 14:50:35 -04:00
Andy Cedilnik 826dc8696c COMP: Fix kwstyle 2007-04-04 13:06:20 -04:00
Andy Cedilnik 0b92b2faf5 BUG: No need for the backward compatibility variable warning 2007-04-04 12:05:44 -04:00
Andy Cedilnik 6fb9e2781a ENH: Add variable for the current list file 2007-04-04 12:05:10 -04:00
Brad King 2c1204e361 ENH: Added cmGlobalVisualStudioGenerator as superclass to all VS global generators. 2007-04-04 11:22:14 -04:00
Andy Cedilnik 3411f2566a STYLE: Nightly Version update 2007-04-03 23:18:35 -04:00
Andy Cedilnik 814d83f120 STYLE: Nightly Version update 2007-04-03 03:07:54 -04:00
Andy Cedilnik 54143f0979 STYLE: Nightly Version update 2007-04-02 02:44:04 -04:00
Andy Cedilnik 2e22c460b6 STYLE: Nightly Version update 2007-04-01 02:41:44 -04:00
Andy Cedilnik 402a363ef0 STYLE: Nightly Version update 2007-03-31 02:45:17 -04:00
Bill Hoffman 5ed2141d12 ENH: make sure default /System framework is not added with -F 2007-03-30 10:53:02 -04:00
Andy Cedilnik 32ab3853ee STYLE: Nightly Version update 2007-03-30 02:37:58 -04:00
Andy Cedilnik 9858fe9b21 STYLE: Nightly Version update 2007-03-29 02:41:21 -04:00
Ken Martin fabd9def68 BUG: even safer checking of return value 2007-03-28 11:07:36 -04:00
Ken Martin f0857fcbd3 BUG: even safer checking of return value 2007-03-28 11:06:34 -04:00
Ken Martin c6cf2ca108 BUG: fix checking of the return value for a build 2007-03-28 10:58:00 -04:00
Andy Cedilnik 7c192d22d2 STYLE: Nightly Version update 2007-03-28 02:51:31 -04:00
Brad King 0e15f3412f COMP: Restored shared local variable removed by previous change. 2007-03-27 23:15:59 -04:00
Brad King af95f61d76 ENH: Created method cmTarget::GetExportMacro to centralize computation of the export symbol name. This removes duplicate code from all the generators. Also enabled the export definition for executable targets with the ENABLE_EXPORTS property set. 2007-03-27 23:13:25 -04:00
Andy Cedilnik 341853c887 STYLE: Nightly Version update 2007-03-27 02:45:47 -04:00
Andy Cedilnik 51126eb2af STYLE: Nightly Version update 2007-03-26 02:43:43 -04:00
Andy Cedilnik 7482175b8b STYLE: Nightly Version update 2007-03-25 02:51:01 -04:00
Andy Cedilnik d17dac47b9 STYLE: Nightly Version update 2007-03-24 02:47:08 -04:00
Bill Hoffman 239ee9c26c BUG: fix problem with new curl_getdate and ctest 2007-03-23 16:33:47 -04:00
Andy Cedilnik 5cd2892f01 STYLE: Nightly Version update 2007-03-23 02:33:35 -04:00
Brad King 5a32aa5919 ENH: Added target property ENABLE_EXPORTS for executable targets. It enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210. 2007-03-22 09:45:25 -04:00
Andy Cedilnik 187816c937 STYLE: Nightly Version update 2007-03-22 02:34:44 -04:00
Ken Martin abf2704785 BUG: typo in if test 2007-03-21 13:49:40 -04:00
Andy Cedilnik cb83efbe90 STYLE: Nightly Version update 2007-03-21 02:39:48 -04:00
Ken Martin f6c9b6d631 ENH: try markign non zero return values as warnings for make programs 2007-03-20 14:52:27 -04:00
Ken Martin 562c17dfeb ENH: try markign non zero return values as warnings for make programs 2007-03-20 14:31:34 -04:00
Ken Martin ca7668d993 ENH: add another error regexp 2007-03-20 14:11:32 -04:00
Bill Hoffman 8f870ddeca BUG: fix coverity error, null check after usage fix 2007-03-20 12:44:36 -04:00
Ken Martin b5423a0218 ENH: minor additional error output 2007-03-20 11:52:16 -04:00
Andy Cedilnik 32984af6d1 STYLE: Nightly Version update 2007-03-20 02:50:02 -04:00
Ken Martin 3abf39eda0 ENH: support for --build-config-sample feature #1022 2007-03-19 13:04:10 -04:00
Brad King fc7c433463 ENH: Added support for import libraries created by executable and module targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly. 2007-03-19 10:00:36 -04:00
Andy Cedilnik 43589ec702 STYLE: Nightly Version update 2007-03-19 02:35:50 -04:00
Andy Cedilnik faa2d53e3f STYLE: Nightly Version update 2007-03-18 02:03:13 -04:00
Andy Cedilnik 1325d8f8dd STYLE: Nightly Version update 2007-03-17 00:20:21 -04:00
Brad King 144c605525 BUG: Need to include relative path top information in directory information so that relative path conversion during dependency generation works with the same rules as project generation. 2007-03-16 16:48:27 -04:00
Brad King 7fb8ac8904 BUG: Use GetExecutableNames instead of GetLibraryNames to compute the installation file name for executable targets. 2007-03-16 16:28:30 -04:00
Brad King 861e3a7107 COMP: Fix bad escape sequence. 2007-03-16 16:04:31 -04:00
Andy Cedilnik ed1081f909 ENH: More regular expressions for visual studio 6 2007-03-16 14:51:28 -04:00
Brad King 1f639ee76c ENH: Added computation of object file names that are almost always short enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520. 2007-03-16 10:34:25 -04:00
Ken Martin f52d37c26f BUG: change in how set cache overrides local definitions. Should mainly be a NOP change for most cases 2007-03-15 13:48:15 -04:00
Andy Cedilnik daacd021fc STYLE: Nightly Version update 2007-03-14 21:51:08 -04:00
Brad King 9da6f96d98 BUG: Reverting previous changes related to using an empty string for a relative path to the current directory. Too many places want the . version. Instead we can just convert the . to an empty string in the one place that motiviated the original change. 2007-03-14 16:29:10 -04:00
Brad King b8bd0f80db BUG: When the current output directory is a link directory we need to reference it with the relative path "." instead of an empty relative path. 2007-03-14 15:35:10 -04:00
Brad King 6d2f08b6e1 ENH: Added MD5 implementation to KWSys. 2007-03-14 15:12:10 -04:00
Brad King a724f0d425 BUG: During relative path conversion if the remote and target paths are the same return the empty string instead of ".". 2007-03-14 13:36:24 -04:00
Brad King 770ffb1699 BUG: All executable and library project types should specify a program database file name for all configurations. Even when debug information is not used the .pdb file specified is used to construct the name of a .idb file that exists for all configurations when building with the VS IDE. 2007-03-14 09:34:31 -04:00
Ken Martin c53b26baf2 ENH: some more cleanup 2007-03-13 15:18:27 -04:00
Bill Hoffman 5891ba16ce ENH: add project to target map, not used yet, but created 2007-03-13 14:23:08 -04:00
Brad King d720036e61 BUG: Fix check of EXCLUDE_FROM_ALL property to use boolean type. This is required for installation of subdirectories to work. 2007-03-13 11:58:12 -04:00
Andy Cedilnik 646e2ff9d8 STYLE: Nightly Version update 2007-03-13 03:57:47 -04:00
Ken Martin f59e649dc2 ENH: added remove_directory bug 2937 2007-03-12 16:10:00 -04:00
Brad King e105c7fedc BUG: Preserve symlinks during installation. This addresses bug#4384. 2007-03-12 14:15:25 -04:00
Brad King e01cdf2065 ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink. 2007-03-12 13:50:28 -04:00
Ken Martin 558dbc84ad ENH: typo 2007-03-12 13:30:36 -04:00
Ken Martin 03f3411c4f ENH: small enchancement for bug 3776. 2007-03-12 12:40:34 -04:00
Brad King fb38af53c0 BUG: Split precompiled header flags into a separate per-global-generator flag map. This is needed because the flag mappings differ across VS IDE versions. This fixes bug#3512 for VS8 where as the previous fix only worked for VS7. 2007-03-12 12:35:11 -04:00
Ken Martin 55603ea9eb COMP: XCode fix 2007-03-12 11:32:10 -04:00
Ken Martin b99129d2d8 ENH: some code cleanup 2007-03-12 10:26:59 -04:00
Andy Cedilnik c03217d560 STYLE: Nightly Version update 2007-03-11 01:50:41 -05:00
Brad King 01a27cb5b4 STYLE: Fix line-too-long. 2007-03-10 06:56:11 -05:00
Andy Cedilnik ba037af74f STYLE: Nightly Version update 2007-03-10 01:31:08 -05:00
Brad King 1e25f2b3db BUG: Use real path subdirectory check instead of substring comparison to identify when paths are below the relative path tops. Otherwise when the build tree is next to the source tree with the same name plus a suffix the relative path from the binary to source tree is allowed even though it goes outside cmake-managed directories. 2007-03-09 17:15:13 -05:00
Brad King 0e8d822b18 COMP: Fix warning about binding reference-to-non-const to an rvalue on VS6. It does not seem to be doing the proper auto_ptr_ref conversions. Instead use the const_cast work-around on this platform. 2007-03-09 16:58:08 -05:00
Brad King 72b08a80c8 COMP: Fixed unreferenced parameter warning for VS6 with /W4. 2007-03-09 16:27:14 -05:00
Brad King ade0fb94d8 BUG: Re-enable backward compatibility replacements in user-provided VS6 DSP template files. 2007-03-09 16:26:16 -05:00
Brad King 80e6cade7a ENH: Implemented use of cmTarget::GetDirectory() in Visual Studio 6 generator. This is an incremental fix for bug#4210. 2007-03-09 16:25:16 -05:00