Commit Graph

8917 Commits

Author SHA1 Message Date
Brad King dd73408328 STYLE: Nightly Date Stamp 2008-08-10 00:01:08 -04:00
Brad King 760fb1f4b7 STYLE: Nightly Date Stamp 2008-08-09 00:01:13 -04:00
Brad King 0208012d83 STYLE: Nightly Date Stamp 2008-08-08 00:01:19 -04:00
Brad King 40fc9174e2 ENH: Tolerate repeated link library types
The "debug", "optimized", and "general" link library type specifier
arguments to the target_link_library commands are sometimes repeated in
user code due to variable expansion and other complications.  Instead of
silently accepting the duplicates and trying to link to a bogus library
like "optimized.lib", warn and ignore the earlier specifiers.
2008-08-07 17:51:29 -04:00
Brad King 2bbb1713de ENH: Clarify documentation of EXCLUDE_FROM_ALL
The add_subdirectory() command's EXCLUDE_FROM_ALL option does not
override inter-target dependencies.  This change clarifies the
documentation accordingly.
2008-08-07 17:12:16 -04:00
Brad King e58fab841f STYLE: Nightly Date Stamp 2008-08-07 00:01:24 -04:00
Brad King d76b20bf3a BUG: Avoid bogus dependency on executable targets
When an executable target within the project is named in
target_link_libraries for another target, but the executable does not
have the ENABLE_EXPORTS property set, then the executable cannot really
be linked.  This is probably a case where the user intends to link to a
third-party library that happens to have the same name as an executable
target in the project (or else will get an error at build time).  We
need to avoid making the other target depend on the executable target
incorrectly, since the executable may actually want to link to that
target and this is not a circular depenency.
2008-08-06 17:48:53 -04:00
Brad King 37a009b7f7 ENH: Improve readability of circular depends error
When reporting the dependencies in a strongly connected component quote
the target names to make the message more readable no matter the target
name.
2008-08-06 17:48:49 -04:00
Brad King 578e83501b BUG: Fix crash on circular target dependencies
After reporting an error about circular target dependencies do not try
to continue generation because the dependency computation object is not
in a useful state.
2008-08-06 17:48:44 -04:00
Alexander Neundorf 138c8a0dab BUG: don't crash in the generator is EXECUTABLE_OUTPUT_PATH or
LIBRARY_OUTPUT_PATH are empty

Alex
2008-08-06 15:35:52 -04:00
Brad King b853e9c19f STYLE: Nightly Date Stamp 2008-08-06 00:01:30 -04:00
Brad King 7e11c5e928 BUG: Custom command depends may match sources
Custom command dependencies that are not full paths or targets may also
match source files.  When one does, the full information about the
source file's location and name may be used.  This fixes the case when a
custom commands depends by relative path on a source file generated by
another custom command specifying its output by relative path.
2008-08-05 13:27:06 -04:00
Brad King d800910efd BUG: Fix matching of ambiguous sf extensions.
A name with an ambiguous extension may only match an unambiguous name
that is extended by one of the fixed set of extensions tried when
finding the source file on disk.  This rule makes matching of source
files with ambiguous extensions much less aggressive but still
sufficient.
2008-08-05 13:27:01 -04:00
Brad King d35b5a2fb1 BUG: Do not convert RPATH entries to full path.
When generating RPATH entries on the link line using a repeated linker
flag (-R ... -R ... style) do not convert individual entries to a full
path.  We need to preserve what the user requested.
2008-08-05 09:55:08 -04:00
Brad King e44a9c9299 BUG: Fix escaping in link scripts
When generating escape sequences for the native build tool do not put in
Makefile escapes for paths generated into link scripts.  This fixes
putting "$ORIGIN" into the RPATH, and probably some other subtle
problems.
2008-08-05 09:55:02 -04:00
Brad King 090b90d727 STYLE: Nightly Date Stamp 2008-08-05 00:01:35 -04:00
Brad King aaa88d33a9 ENH: Build large archives incrementally
Creation of archive libraries with the unix 'ar' tool should be done
incrementally when the number of object files is large.  This avoids
problems with the command line getting too many arguments.
2008-08-04 11:37:19 -04:00
Brad King 0c20967a6b BUG: Fix operator precedence error in cmELF
When attempting to load the RPATH out of a non-ELF file cmELF would
crash because the check for a valid file was done with in correct
operator precedence.  See bug#7392.
2008-08-04 09:38:38 -04:00
Brad King acd9e9e5e9 STYLE: Nightly Date Stamp 2008-08-04 00:01:41 -04:00
Brad King 2d95311f75 STYLE: Nightly Date Stamp 2008-08-03 00:01:47 -04:00
Brad King 50fd6e7c3d STYLE: Nightly Date Stamp 2008-08-02 00:01:53 -04:00
David Cole 5c47163d41 BUG: Improve fix for issue #7058 - comsuppd did not yet exist in VC6. 2008-08-01 12:10:43 -04:00
Brad King ead5e0ce85 STYLE: Nightly Date Stamp 2008-08-01 00:01:59 -04:00
David Cole 5a0389a0b7 BUG: Fix issue#4792 - improve verbose and log output when ctest cannot find a file during coverage analysis. 2008-07-31 14:16:34 -04:00
David Cole 3312685616 BUG: Fix issue #7058 - link the commsup lib explicitly for use on some Visual Studio + SDK combinations 2008-07-31 13:46:17 -04:00
Bill Hoffman 45b9a2d575 BUG: fix for 7426 bad check for cpack 2008-07-31 13:36:53 -04:00
David Cole e1ac9227a0 BUG: Fix issue #5773 - add table entry to map /W0 to WarningLevel="0" 2008-07-31 12:54:09 -04:00
David Cole f059ebff69 BUG: Fix issue #4971 - use lower case when comparing file names from gcov output on _WIN32 since sometimes the drive letters have different case. 2008-07-31 11:28:45 -04:00
Bill Hoffman 6f31b0dfbd ENH: add a --trace option 2008-07-31 10:33:25 -04:00
Brad King 9926b7f717 STYLE: Nightly Date Stamp 2008-07-31 00:02:11 -04:00
David Cole 17452105cd BUG: Fix issue #7088 - do not emit error messages when attempts to run Visual Studio macros fail. You can still get the error output as messages if you want using --debug-output from the cmake command line. 2008-07-30 15:26:34 -04:00
Bill Hoffman beeebcdc40 BUG: fix for bug 7427, preinstall target name hard coded 2008-07-30 15:18:19 -04:00
David Cole b2f041f6a8 BUG: Fix issue #7414 - do not crash when given components with circular dependencies. Thanks to Doug Gregor for the patch. 2008-07-30 13:28:17 -04:00
Brad King 0247a495c1 ENH: Recognize src extensions of all enabled langs
For historical reasons we still support naming of source files without
their extension.  Sources without known extensions are located on disk
by iterating through a fixed set of possible extensions.  We now want
users to always specify the extension, so the fixed set will not be
expanded and is preserved for compatibility with older projects.

This change adds recognition of extensions of all enabled languages to
avoid checking the disk for files whose extensions are unambiguous but
not in the original fixed set.
2008-07-30 11:06:11 -04:00
Brad King 24c9434a81 BUG: Avoid double-slash in check for source file 2008-07-30 11:06:06 -04:00
Bill Hoffman d6f02cd911 BUG: fix for bug 7421, fortran did not get arch flags on the mac 2008-07-30 10:44:57 -04:00
Brad King 08221c2a49 BUG: Preserve all non-targets on user link lines
In CMake 2.4 the generated link line for a target always preserved the
originally specified libraries in their original order.  Dependencies
were satisfied by inserting extra libraries into the line, though it had
some bugs.  In CMake 2.6.0 we preserved only the items on the link line
that are not known to be shared libraries.  This reduced excess
libraries on the link line.  However, since we link to system libraries
(such as /usr/lib/libm.so) by asking the linker to search (-lm), some
linkers secretly replace the library with a static library in another
implicit search directory (developers can override this by using an
imported target to force linking by full path).  When this happens the
order still matters.

To avoid this and other potential subtle issues this commit restores
preservation of all non-target items and static library targets.  This
will create cases of unnecessary, duplicate shared libraries on the link
line if the user specifies them, but at least it will work.  In the
future we can attempt a more advanced analysis to safely remove
duplicate shared libraries from the link line.
2008-07-30 10:23:41 -04:00
Brad King 96c9e7de7e BUG: Preserve shared lib order for 2.4 compatibility
We preserve the order and multiplicity of libraries directly linked by a
target as specified by the user.  Items known to be shared libraries may
be safely skipped because order preservation is only needed for static
libraries.  However, CMake 2.4 did not skip shared libs, so we do the
same when in 2.4 compatibility mode.
2008-07-30 09:25:52 -04:00
Brad King bd4601f987 STYLE: Nightly Date Stamp 2008-07-30 00:02:10 -04:00
Brad King f8f5dde2ee ENH: Warn when system libraries may be hidden.
We never explicitly specify system library directories in linker or
runtime search paths.  Furthermore, libraries in these directories are
always linked by asking the linker to search for them.  We need to
generate a warning when explicitly specified search directories contain
files that may hide the system libraries during the search.
2008-07-29 14:57:00 -04:00
Brad King 01d143c77b ENH: Provide context in path ordering warnings 2008-07-29 14:01:04 -04:00
Brad King 478fbdfc23 STYLE: Fix typo in comment in cmOrderDirectories 2008-07-29 14:00:59 -04:00
Bill Hoffman d652aed13a ENH: do not depend on files that do not exist 2008-07-29 10:51:46 -04:00
Brad King 1a08c9aa5e STYLE: Nightly Date Stamp 2008-07-29 00:02:16 -04:00
Brad King 36b898ccf4 STYLE: Nightly Date Stamp 2008-07-28 00:02:22 -04:00
Brad King 1aefb48e5b STYLE: Nightly Date Stamp 2008-07-27 00:02:28 -04:00
Brad King 9d680d2c4d STYLE: Nightly Date Stamp 2008-07-26 00:02:07 -04:00
Bill Hoffman a4b30b8b25 BUG: fix source file extension bug that broke Second life build 2008-07-25 18:00:47 -04:00
Brad King 1782d90338 STYLE: Nightly Date Stamp 2008-07-25 00:02:13 -04:00
Brad King eea0cd3d8b STYLE: Nightly Date Stamp 2008-07-24 00:02:14 -04:00
Brad King b93f0318fe ENH: Support full-path libs w/out valid names.
This change introduces policy CMP0008 to decide how to treat full path
libraries that do not appear to be valid library file names.  Such
libraries worked by accident in the VS IDE and Xcode generators with
CMake 2.4 and below.  We support them in CMake 2.6 by introducing this
policy.  See policy documentation added by this change for details.
2008-07-23 12:59:14 -04:00
Brad King 74d6536024 ENH: Skip libs in known dirs for CMP0003 warnings.
Sometimes we ask the linker to search for a library for which the path
is known but for some reason cannot be specified by full path.  In these
cases do not include the library in CMP0003 warnings because we know the
extra paths are not needed for it.
2008-07-23 12:19:54 -04:00
Brad King ffd231869f STYLE: Nightly Date Stamp 2008-07-23 00:02:19 -04:00
Bill Hoffman 1d1d874cf1 COMP: fix compiler warning and follow style 2008-07-22 13:32:43 -04:00
Brad King 6db292d656 STYLE: Nightly Date Stamp 2008-07-22 00:02:21 -04:00
Alexander Neundorf 4175b514fc ENH: handle HTML documentation for single items better: no warning about
ComputeSectionLinkPrefix, don't create an index for only one item

Alex
2008-07-21 17:52:59 -04:00
Brad King ff63bb1b44 ENH: Support full-path libs w/out extension in VS IDE.
- This case worked accidentally in CMake 2.4, though not in Makefiles.
  - Some projects build only with the VS IDE on windows and have this
    mistake.
  - Support them when 2.4 compatibility is enabled by adding the extension.
2008-07-21 10:07:56 -04:00
Brad King c52f9425c7 STYLE: Nightly Date Stamp 2008-07-21 00:02:24 -04:00
Alexander Neundorf 0b27f1f766 STYLE: fix #7146, add documentation for
CMAKE[_SYSTEM]_(LIBRARY|PROGRAM|INCLUDE|PREFIX)_PATH variables
-moved CMAKE_CROSSCOMPILING from "Variables that modify behaviour" to
"variables that Provide Information", since it should be used only for
testing whether we are currently in cross compiling mode, not for switching
between the modes.

Alex
2008-07-20 17:14:00 -04:00
Brad King 75e6fe0579 STYLE: Nightly Date Stamp 2008-07-19 23:52:22 -04:00
Brad King 5d39290bb2 STYLE: Nightly Date Stamp 2008-07-18 23:52:35 -04:00
David Cole b3752abc8d ENH: Improvements to the bundle cpack generator from second patch attached to feature request #7170. Thanks to Tim Shead. 2008-07-18 16:12:36 -04:00
Brad King 6e9ea6c65a STYLE: Nightly Date Stamp 2008-07-17 23:52:46 -04:00
Brad King 315fed9d49 STYLE: Nightly Date Stamp 2008-07-16 23:52:47 -04:00
Brad King 2bc9acb1ca BUG: Fix try_compile during EnableLanguage
- The source-file signature of try_compile looks up the language
    of the source file using the extension-to-language map so that
    it knows what language to enable in the generated project.
  - This map needs to be filled before loading a file specified by
      CMAKE_USER_MAKE_RULES_OVERRIDE
      CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>
    so that the user file may call the try_compile() source-file
    signature.
  - It must still be re-filled after loading CMake<LANG>Information.cmake
    in case the compiler- or platform-specific files added anything.
  - See bug #7340.
2008-07-16 11:03:58 -04:00
Brad King 9e0e27ccc7 STYLE: Nightly Date Stamp 2008-07-15 23:52:56 -04:00
Brad King a744f2d131 STYLE: Nightly Date Stamp 2008-07-14 23:53:09 -04:00
Bill Hoffman e5ba0296c2 BUG: fix for bug 7316 2008-07-14 18:51:54 -04:00
Brad King 0d99216dfb STYLE: Nightly Date Stamp 2008-07-13 23:53:09 -04:00
Brad King 180e05acdc STYLE: Nightly Date Stamp 2008-07-12 23:53:20 -04:00
Brad King dbfe32d2ed STYLE: Nightly Date Stamp 2008-07-11 23:53:29 -04:00
Brad King dc08bb837a STYLE: Nightly Date Stamp 2008-07-10 23:53:45 -04:00
Bill Hoffman 0143b83264 COMP: remove warning and check for assignment to itself in operator= 2008-07-10 17:20:14 -04:00
Brad King 06d38d313f STYLE: Nightly Date Stamp 2008-07-09 23:53:43 -04:00
David Cole d7b9041516 COMP: Fix HP continuous. Pull stl headers into CMake header files using cmStandardIncludes.h 2008-07-09 16:30:53 -04:00
David Cole 71f61636b6 ENH: One more patch from Doug Gregor including PackageMaker functionality for componentized-for-the-end-user and download-some-bit-on-demand installers. 2008-07-09 13:38:56 -04:00
Bill Hoffman 3366e6c2cd ENH: fix memory leak 2008-07-09 11:46:03 -04:00
Brad King 0d54001276 ENH: Set version info for shared libs on OSX.
- Map SOVERSION major.minor.patch to compatibility_version
  - Map VERSION major.minor.patch to current_version
  - See issue #4383.
2008-07-09 10:09:46 -04:00
Brad King da4f142cc1 ENH: Add full target version signature cmTarget::GetTargetVersion. 2008-07-09 10:09:00 -04:00
Brad King ba84524207 STYLE: Nightly Date Stamp 2008-07-08 23:53:48 -04:00
David Cole 83ec8c3593 ENH: Further refinement of the CPack components functionality from Doug Gregor.
Details:
==========

 - New cpack_add_component, cpack_add_component_group, and
cpack_add_install_type "commands" defined as macros in the CPack
module.
 - Documentation for all of the variables and commands in the CPack module.
 - Added get_cmake_property(... COMPONENTS) to CMake to ask for the
names of all components. Used in the CPack module to automatically
build component-based installers. (Set CPACK_MONOLITHIC_INSTALL to
turn off component-based installation).
 - A group can declare its PARENT_GROUP, to build an arbitrary
hierarchy of groups.
 - New CPack command cpack_configure_downloads, which creates an
installer that downloads only the selected components on-the-fly.
Those components marked DOWNLOADED will be separate packages
downloaded on-the-fly (or, all packages can be marked as such with the
ALL option to cpack_configure_downloads). Individual components are
compressed with ZIP at installer-creation time and
downloaded/uncompressed by the installer as needed. This feature is
only available on Windows with NSIS at the moment.
 - NSIS installers can install themselves and enable the "Change"
button in Add/Remove programs, allowing users to go back and install
or remove components. This can be disabled through
cpack_configure_downloads, because it's only really useful is most of
the application's functionality is in downloaded components.
 - Bug fix: automatically install everything whose COMPONENT was not
specified (it's a hidden, required group)
 - Bug fix: fixed removal of components when re-running the NSIS
installer and unchecking components
 - Bug fix: NSIS installers now only install/remove the minimal
number of files when re-run to update the installation (or by clicking
"Change" in Add/Remove programs)
2008-07-08 11:52:25 -04:00
Brad King 7515492079 STYLE: Nightly Date Stamp 2008-07-07 23:53:59 -04:00
Bill Hoffman 2081dcbfce ENH: add get_test_property to bootstrap so bootstrap builds test the same as non-bootstrap builds 2008-07-07 15:07:54 -04:00
Brad King 9a3c0bf073 BUG: Do not build human-reference files in Xcode
- The Info.plist file in app bundles should not be built.
  - User-specified files such as foo.txt should not be built.
  - Only files with a recognized language should be built,
    just as in the Makefiles generators.
  - See bug #7277.
2008-07-07 13:12:21 -04:00
Brad King e225a377b9 ENH: Add projectRoot to Xcode projects
- This attribute points Xcode at the source tree.
  - Xcode 3 wants this to be set always.
  - See bug #7044.
2008-07-07 10:57:32 -04:00
Brad King 97e658c571 BUG: Fix AppBundle=>Library depends in Xcode
- The Xcode generator xcode-depend-helper needs to account
    for the paths of executables within application bundles.
  - See bug #7278.
2008-07-07 10:05:29 -04:00
Brad King 7a10a8ca33 STYLE: Nightly Date Stamp 2008-07-06 23:54:05 -04:00
Bill Hoffman bc58fe6485 COMP: fix warning 2008-07-06 22:06:08 -04:00
Bill Hoffman a4ae5a72a0 COMP: fix some more warnings 2008-07-06 20:03:08 -04:00
Bill Hoffman cb4eaeabe5 COMP: fix a few more warnings 2008-07-06 19:58:38 -04:00
Brad King c3933acc75 STYLE: Nightly Date Stamp 2008-07-05 23:54:11 -04:00
Clinton Stimpson f729538aaa ENH: Replace Advanced checkbox and group option in menu with a combo box to
choose view type.
2008-07-05 13:25:04 -04:00
Bill Hoffman 70662e7f86 COMP: fix warning 2008-07-05 09:29:33 -04:00
Brad King b44ac00240 STYLE: Nightly Date Stamp 2008-07-04 23:54:18 -04:00
Bill Hoffman 5292b3edef COMP: try to fix sgi compiler problem with set and also shorten symbol lengths for set class 2008-07-04 10:28:22 -04:00
Bill Hoffman 112d377fbb COMP: fix more warnings 2008-07-04 10:10:30 -04:00
Bill Hoffman fba54c56f2 COMP: fix warning 2008-07-04 09:55:26 -04:00
Bill Hoffman 7098b666fa COMP: fix some warnings 2008-07-04 09:50:32 -04:00
Brad King 9466dd3481 STYLE: Nightly Date Stamp 2008-07-03 23:54:30 -04:00
Bill Hoffman 9e167b6800 ENH: one more fix for the old hp c++ compiler 2008-07-03 16:26:03 -04:00
Bill Hoffman f188d0e241 ENH: one more fix for hp 2008-07-03 15:02:52 -04:00
Bill Hoffman 096c139c80 ENH: fix for old hp compiler 2008-07-03 13:55:36 -04:00
Brad King dd1ee6975f ENH: Do not auto-create out-dated cache variables
- We used to always put LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH
    in the cache if the project did not.
  - In CMake 2.6 these variables should no longer be used.
  - Now add them only if CMAKE_BACKWARDS_COMPATIBILITY is also cached.
  - This happens only when CMP0001 is set to OLD or WARN or if
    the user or project sets it.  In any case compatibility is needed.
  - Reported by Miguel A. Figueroa-Villanueva and Philip Lowman.
2008-07-03 13:55:33 -04:00
Brad King 1342965b05 BUG: Fix Xcode reference to Info.plist resource
- Generated Xcode projects for application bundles list the
    CMake-generated Info.plist input file as a resource.
  - The location of the input file was moved by a previous commit,
    but the reference to it as a resource file was not updated.
  - This change moves the file to CMakeFiles/<tgt>.dir/Info.plist
    to give it a more intuitive name in the Xcode project.
  - We also update the reference to point at the correct location.
  - See bug #7277.
2008-07-03 13:28:54 -04:00
Brad King 264af17bfc BUG: Fix Xcode per-config bundle name in Info.plist
- The Xcode generator creates one Info.plist input file which is
    converted at build time by Xcode and placed in the final bundle.
  - The <CONFIG>_OUTPUT_NAME target property can place different content
    for the exe name in Info.plist on a per-configuration basis.
  - Instead of generating a per-config Info.plist input file just let
    Xcode put the name in at build time using the $(EXECUTABLE_NAME) var.
2008-07-03 13:28:49 -04:00
Bill Hoffman 7950b99d9d ENH: add missing file 2008-07-03 09:49:49 -04:00
Bill Hoffman bb7b27e417 ENH: add initial ctest -j feature 2008-07-03 09:31:33 -04:00
Brad King ea71721b80 STYLE: Nightly Date Stamp 2008-07-02 23:54:33 -04:00
Brad King 1589e112e6 STYLE: Nightly Date Stamp 2008-07-01 23:54:43 -04:00
Brad King 7317f2cbe6 STYLE: Nightly Date Stamp 2008-06-30 23:55:16 -04:00
Clinton Stimpson 667d5f9446 BUG: Fix column widths on some systems. 2008-06-30 14:29:08 -04:00
Brad King b73cac6409 BUG: Do not escape make variable references in VS additional options. 2008-06-30 09:57:07 -04:00
Brad King 5b09901f69 STYLE: Nightly Date Stamp 2008-06-29 23:55:14 -04:00
Brad King d50cbe101a STYLE: Nightly Date Stamp 2008-06-28 23:55:21 -04:00
Ken Martin 52d8b1b5d9 BUG: fix memory leak and cleanup error string code 2008-06-28 11:16:36 -04:00
Brad King 3cc9efceb7 STYLE: Nightly Date Stamp 2008-06-27 23:55:43 -04:00
Brad King bf4070d726 STYLE: Nightly Date Stamp 2008-06-26 23:55:19 -04:00
Brad King b9b11903ab BUG: Fix computed directory property DEFINITIONS.
- The property tracks the value formed by add_definitions
    and remove_definitions command invocations.
  - The string should be maintained for use in returning for the
    DEFINITIONS property value.
  - It is no longer used for any other purpose.
  - The DEFINITIONS property was recently documented as deprecated.
  - See bug #7239.
2008-06-26 13:30:10 -04:00
Ken Martin 19e891532a ENH: support parenthesis as arguments and in conditionals feature request #6191 2008-06-26 13:01:35 -04:00
Brad King d8e05b43a1 ENH: Update documentation of computed directory properites.
- Fix documentation of get_directory_property command.
  - Convert its list of computed directory properties to be
    defined/documented directory properties.
2008-06-26 10:58:44 -04:00
Brad King 2ca9a70fd1 BUG: Fix PARENT_DIRECTORY property in top-level to not crash. 2008-06-26 10:58:16 -04:00
Brad King bb7bc28c78 STYLE: Nightly Date Stamp 2008-06-25 23:55:31 -04:00
Bill Hoffman 02ff910044 BUG: fix for bug 7239, DEFINITIONS property not backwards compatible to 2.4 2008-06-25 09:44:56 -04:00
Brad King 4aa35cee98 STYLE: Nightly Date Stamp 2008-06-24 23:56:15 -04:00
Clinton Stimpson 88a9a3254e BUG: Don't create empty property. Fixes bug #7193. 2008-06-24 00:00:42 -04:00
Brad King 2b9e0af408 STYLE: Nightly Date Stamp 2008-06-23 23:55:45 -04:00
Bill Hoffman 8ef1cedbef BUG: fix for bug 7228 FLTK_WRAP_UI segfault fixed 2008-06-23 11:08:57 -04:00
Brad King 465a36484e STYLE: Nightly Date Stamp 2008-06-22 23:55:58 -04:00
Brad King 7205003625 STYLE: Nightly Date Stamp 2008-06-21 23:56:24 -04:00
Brad King 9b91fc8c23 STYLE: Nightly Date Stamp 2008-06-20 23:56:05 -04:00
Bill Hoffman 08b95e9cd8 BUG: fix for bug 7222 manifest:no not working for makefiles 2008-06-20 16:25:02 -04:00
Brad King 85b8534aea STYLE: Nightly Date Stamp 2008-06-19 23:56:14 -04:00
David Cole 01a93bbb3e COMP: Eliminate unreferenced variable warning 2008-06-19 06:17:01 -04:00
Brad King 8c64691bec STYLE: Nightly Date Stamp 2008-06-18 23:56:21 -04:00
David Cole 974feca643 COMP: Eliminate compiler warning on 64-bit build. 2008-06-18 16:00:05 -04:00
David Cole 0fe9afdf5e BUG: Always look for the NSIS reg value in the 32-bit hive even in 64-bit builds of CPack. 2008-06-18 14:25:57 -04:00
Bill Hoffman 101337c63e ENH: support large object file lists with incremental visual studio linking 2008-06-18 13:28:24 -04:00
David Cole 79e255a7d3 ENH: Apply patch for feature request #7170. Thanks to Tim Shead for contributing... 2008-06-18 09:53:29 -04:00
Bill Hoffman bf3598bab4 BUG: make sure ctest sees the output of the cmake run in build and test cases, it was not... 2008-06-18 09:07:53 -04:00
David Cole e8825d320b BUG: Workaround PackageMaker 3.0 issue for new CPack components feature. Thanks again to Doug Gregor for the patch. 2008-06-18 07:08:33 -04:00
Brad King cb613406bc STYLE: Nightly Date Stamp 2008-06-17 23:56:46 -04:00
David Cole 5cd8c61db3 COMP: Use cmOStringStream instead of std::ostringstream for the HP compiler. 2008-06-17 14:07:15 -04:00
Bill Hoffman aa53857f59 BUG: fix for bug 7136 2008-06-17 14:03:49 -04:00
Bill Hoffman 5b5cd07d8d ENH: add an enabled language property 2008-06-17 13:13:21 -04:00
David Cole 9a98928bd9 COMP: Fix errors and warnings from continuous dashboards running different compilers... 2008-06-17 12:44:18 -04:00
David Cole 80714fb42f COMP: Include full class definitions of classes used in std::map data members. 2008-06-17 12:09:42 -04:00
David Cole 1105a86c52 ENH: Add patch for feature request #6847 - CPack components for NSIS and PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available. 2008-06-17 11:39:26 -04:00
Bill Hoffman fefe078e58 BUG: fix for bug 6619 2008-06-17 10:58:03 -04:00
Brad King 872e8132e9 STYLE: Nightly Date Stamp 2008-06-16 23:56:36 -04:00
Brad King d1c1d8025f STYLE: Nightly Date Stamp 2008-06-15 23:56:42 -04:00
Brad King 5680cfd9c6 STYLE: Nightly Date Stamp 2008-06-14 23:56:51 -04:00
Brad King 08e135bf61 STYLE: Nightly Date Stamp 2008-06-13 23:56:58 -04:00
Clinton Stimpson b428350d1e ENH: remove red blending. It didn't look good on some systems. 2008-06-13 16:57:07 -04:00
Clinton Stimpson 82a5b8000e ENH: instead of solid red for new entries, blend it with the alternating
white/gray (depending on style).
2008-06-13 15:29:07 -04:00
Clinton Stimpson b1c31be668 ENH: Make original flat view the default.
Add option to switch to grouped view (and remember it).
2008-06-13 11:19:53 -04:00
Bill Hoffman 7b45050c5d ENH: remove beta stuff from version 2008-06-13 10:15:13 -04:00
Brad King 5bc6a5fb9b STYLE: Nightly Date Stamp 2008-06-12 23:57:16 -04:00
Brad King 3810dffe8d STYLE: Nightly Date Stamp 2008-06-11 23:57:55 -04:00
Clinton Stimpson db016a096e ENH: better name for ungrouped entries. 2008-06-11 15:08:52 -04:00
Clinton Stimpson b31b420b65 BUG: need to invalidate filtering when using Qt 4.3+. 2008-06-11 14:47:56 -04:00
Brad King 23bdb30e10 STYLE: Nightly Date Stamp 2008-06-10 23:59:45 -04:00
Clinton Stimpson dfea280ff1 ENH: Add items under the Options menu for collapsing and expanding the variable
tree.
2008-06-10 22:19:14 -04:00
Clinton Stimpson 36576a4e7a ENH: Give a label for the group of properties that didn't get put into another
group.
2008-06-10 20:17:23 -04:00
Clinton Stimpson 2d37d2a48d ENH: group together items with no prefix and items that won't be
grouped with others.
2008-06-10 18:53:22 -04:00
Alexander Neundorf 3e909b5908 BUG: -fail with error if the CMake<LANG>Information.cmake file wasn't found
ENH: -if no compiler has been found, don't test it, and also remove the compiler
information file again. This makes optionally enabling a language work
better.

Alex
2008-06-10 18:28:01 -04:00
Brad King 4543a3ea05 BUG: In find_* commands support NO_* options in short-hand
- The short-hand forms do not document the NO_* options.
  - CMake 2.4 and 2.6.0 accepted them accidentally, but also
    treated the options as paths.
  - Now the options are accepted but do not become paths.
2008-06-10 13:22:18 -04:00
Clinton Stimpson 13d55b6ae4 ENH: Use a tree view of the properties instead of a flat list view.
Properties are grouped by a prefix (up to first "_") and can be expanded
      or collapsed.

      Fixes #6359.
2008-06-10 00:17:00 -04:00
Brad King 1ee52bb29b STYLE: Nightly Date Stamp 2008-06-09 23:57:42 -04:00
Brad King d50785e26e ENH: Make find_* command search order more intuitive.
- The CMAKE_PREFIX_PATH and similar variables have both
    environment and CMake cache versions.
  - Previously the environment value was checked before the
    cache value.
  - Now the cache value is favored because it is more specific.
2008-06-09 15:22:09 -04:00
Brad King 5b406c9044 ENH: Add HINTS option to find_* commands.
- Hints are searched after user locations but before system locations
  - The HINTS option should have paths provided by system introspection
  - The PATHS option should have paths that are hard-coded guesses
2008-06-09 15:08:59 -04:00
Brad King 2cadc9138f ENH: Improve framework search speed for find_file and find_path
- Locating a header inside a framework often requires globbing
  - Previously the glob was <dir>/*/Headers/<name>
  - Now the glob is <dir>/*.framework/Headers/<name>
  - This is much faster when <dir> is not really a framework dir
2008-06-09 12:51:01 -04:00
Brad King 6706f84cd9 ENH: Refactor find_* command framework/appbundle search order impl.
- CMAKE_FIND_FRAMEWORK and CMAKE_FIND_APPBUNDLE are supposed to specify
    whether to find frameworks/appbundles FIRST, LAST, ONLY, or NEVER.
  - Previously this affected only the placement of CMAKE_FRAMEWORK_PATH
    and CMAKE_APPBUNDLE_PATH with respect to the other path specifiers.
  - Now it behaves as documented.  The entire search path is inspected for
    each kind of program, library, or header before trying the next kind.
  - Additionally the ONLY mode is now honored for headers so that users
    do not end up with a library in framework and a header from elsewhere.
2008-06-09 11:58:29 -04:00
Brad King d53e5dec37 ENH: In find_* implementation centralize addition of trailing slashes
- Create cmFindCommon::AddTrailingSlashes
  - Use it in cmFindBase and cmFindPackageCommand
  - Remove duplication from other find commands
2008-06-09 11:57:56 -04:00
Brad King 3446bab75e STYLE: Nightly Date Stamp 2008-06-08 23:57:40 -04:00
Brad King e77f5cfaed ENH: Whenever CMake re-runs from inside the VS IDE inform the user why. 2008-06-08 11:41:24 -04:00
Brad King abb1c0e25e BUG: Fix find_* command calls with no PATHS but new-style options.
- In cmFindBase when CheckCommonArgument returns true, set newStyle
  - Otherwise if there are no PATHS then the ancient-style compatibility
    mode is enabled and the common argument is treated as a path.
2008-06-08 11:41:08 -04:00
Brad King 9e44be371f STYLE: Nightly Date Stamp 2008-06-07 23:57:43 -04:00
Brad King 45bb68bf9b STYLE: Nightly Date Stamp 2008-06-06 23:58:15 -04:00
Brad King 27759a775f ENH: Recognize more color terminals.
- Patch from Matthew McCormick, slightly tweaked
  - See issue #6833
2008-06-06 11:52:52 -04:00
Bill Hoffman 4bc39940c3 ENH: fix for flags that have sub-string matches 2008-06-06 11:49:06 -04:00
Ken Martin fc8b27650c ENH: fix for bug 6364, extra help targets when there are subdirectories of the top level 2008-06-06 10:22:51 -04:00
Brad King 3c8ed0d600 BUG: Fix cmFindBase::AddMacPath to actually use its arguments after previous refactoring commit. 2008-06-06 09:06:27 -04:00
Brad King d80ca5baea STYLE: Nightly Date Stamp 2008-06-05 23:57:59 -04:00
Brad King 789c167b6f ENH: Refactor cmFindCommon, cmFindBase, and cmFindPackageCommand
- Add each part of the search order in a separate method.
  - Collect added paths in an ivar in cmFindCommon.
  - Move user path storage up to cmFindCommon and share
    between cmFindBase and cmFindPackageCommand.
  - Expand user path registry values up in cmFindCommon
    - Enables 32-/64-bit registry view for find_package
    - Disables registry expansion for paths not specified
      with the PATHS argument, which is not expected.
2008-06-05 18:20:16 -04:00
Brad King a9a33a5c5e BUG: Fix 64-bit build of CMake so it can find 32-bit VS install.
- cmFindBase should search both 32-bit and 64-bit registry views
    for FIND_PROGRAM even if CMAKE_SIZEOF_VOID_P is not set.
  - Needed because the variable is not available when CMAKE_MAKE_PROGRAM
    is to be found.
2008-06-05 09:54:28 -04:00
Brad King 958dc2709f STYLE: Nightly Date Stamp 2008-06-04 23:58:11 -04:00
Brad King 7fc72e6471 ENH: Allow custom commands with VERBATIM option to have $(SomeVar) make variable replacement. 2008-06-04 12:10:52 -04:00
Brad King e00a49e2ca STYLE: Nightly Date Stamp 2008-06-03 23:58:19 -04:00
Brad King 2453164126 COMP: Fix bootstrap build after previous change to signature of AddRuleHash. 2008-06-03 10:02:18 -04:00
Brad King e79b73d61f BUG: Include less content as input to "rule hash" computation.
- The rule hash should use only commands specified by the user.
  - No make output (echo and progress) rules should be included.
  - No outputs or dependencies need be included.  The native build tool
    will take care of them.
2008-06-03 09:55:28 -04:00
Brad King 4d5116c8a2 STYLE: Nightly Date Stamp 2008-06-02 23:58:25 -04:00
Clinton Stimpson 0d845b8da8 BUG: FormatMessage can return a NULL message. Add check for NULL pointer. 2008-06-02 19:44:02 -04:00
Brad King bed3ac8741 ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()
- Option was recently added but never released.
  - Custom commands no longer depend on build.make so we do
    not need the option.
  - Rule hashes now take care of rebuilding when rules change
    so the dependency is not needed.
2008-06-02 16:45:07 -04:00
Brad King 6be09c3667 ENH: Introduce "rule hashes" to help rebuild files when rules change.
- In CMake 2.4 custom commands would not rebuild when rules changed.
  - In CMake 2.6.0 custom commands have a dependency on build.make
    which causes them to rebuild when changed, but also when any
    source is added or removed.  This is too often.
  - We cannot have a per-rule file because Windows filesystems
    do not deal well with lots of small files.
  - Instead we add a persistent CMakeFiles/CMakeRuleHashes.txt file
    at the top of the build tree that is updated during each
    CMake Generate step.  It records a hash of the build rule for
    each file to be built.  When the hash changes the file is
    removed so that it will be rebuilt.
2008-06-02 16:44:58 -04:00
Ken Martin 0080c2b9b5 COMP: fix warning 2008-06-02 09:39:13 -04:00
Brad King 669311c369 STYLE: Nightly Date Stamp 2008-06-01 23:58:30 -04:00
Bill Hoffman 2f082668bd ENH: fix crash on dash17 linux where the parsing of the proc file must not have worked right 2008-06-01 23:40:30 -04:00
Bill Hoffman 735b77798d ENH: fix crash on cygwin 2008-06-01 16:11:38 -04:00
Francois Bertel d0237abfd4 BUG:cpuinfo format are different between Linux and Cygwin. Cygwin does not have physical id tag or cpu cores tag. 2008-06-01 14:40:11 -04:00
Bill Hoffman fc5bc3380e ENH: avoid divide by zero, temporary fix until cygwin cpu file is read better, bad cpu info is better than a crash 2008-06-01 11:23:22 -04:00
Brad King 9f3e67eabf STYLE: Nightly Date Stamp 2008-05-31 23:58:41 -04:00
Francois Bertel f9ce6fcb5a BUG:Fixed NumberOfLogicalCPU, NumberOfPhysicalCPU and LogicalProcessorsPerPhysical under Linux. Some part was just wrong. Some other part missed to take the multicore value into account. 2008-05-31 11:23:15 -04:00
Ken Martin d0d3c6c212 ENH: make end of file checking for close if, foreach, macro, functions etc enabled. Not sure why it was disabled to start with, but I suspect I will find out. In reponse to Bill email about a ctest -S script with a function that waqs not closed. Closure was only checked for regular listfiles not other files. 2008-05-31 08:15:00 -04:00
Brad King 045d6ac0e8 STYLE: Nightly Date Stamp 2008-05-30 23:59:16 -04:00
Ken Martin 5020a1f4a0 ENH: make tes test finding logic also try full paths as relative paths because some folks have been doing that and 2.4 handled it 2008-05-30 09:14:25 -04:00
Brad King da273b1026 STYLE: Nightly Date Stamp 2008-05-29 23:58:53 -04:00
Ken Martin 0b4375daf2 BUG: improve progress reporting when there are multiple targets with the same name, bug# 7042 2008-05-29 11:50:33 -04:00
Brad King 535d76d276 STYLE: Nightly Date Stamp 2008-05-28 23:59:02 -04:00
Brad King 23be301b36 STYLE: Nightly Date Stamp 2008-05-27 23:59:13 -04:00
Brad King 3571198ea8 BUG: Fix previous registry lookup change for executables.
- The target platform does not matter for finding executables
    so find_program should expand to both 32-bit and 64-bit registry
    values.
  - See issue #7095.
2008-05-27 16:50:04 -04:00
Brad King 41ceabb60f BUG: Fix registry lookups for FIND commands to use view of target platform.
- See issue #7095.
2008-05-27 14:47:46 -04:00
Brad King cea66664c5 ENH: Added WOW64 key view support to KWSys SystemTools' windows registry API.
- Add an argument to registry read/write/delete methods to specify
    a 32-bit or 64-bit view.
  - Default is the bit-ness of the running program.
  - See issue #7095.
2008-05-27 14:47:00 -04:00
Brad King 73d5fd31ab ENH: Catch missing source files specified by full path earlier.
- Revert previous change to trust user-provided full paths.
  - Instead trust them only far enough to determine the source language
    but still check for existence for non-generated sources.
2008-05-27 13:10:09 -04:00
Brad King 1c0ffdc11c BUG: Fix crash on repeated configure steps and exported targets.
- In cmGlobalGenerator the ExportSets ivar must be cleared at
    the beginning of each Configure.
  - See issue #7101.
2008-05-27 11:18:01 -04:00
Brad King 757875df91 ENH: Inform user when RPATH is set during installation.
- Original patch from Alex.
  - Modified to print only when RPATH is actually set.
2008-05-27 10:22:03 -04:00
Brad King 852242e56b BUG: RPATH adjustment of versioned executables should operate on the file and not the symlink. 2008-05-27 10:21:21 -04:00
Brad King e429335f28 STYLE: Nightly Date Stamp 2008-05-26 23:59:22 -04:00
Brad King 87556c6849 STYLE: Nightly Date Stamp 2008-05-25 23:59:24 -04:00
Brad King 3f542be36a STYLE: Nightly Date Stamp 2008-05-24 23:59:34 -04:00
Brad King 6ad96ecffa STYLE: Nightly Date Stamp 2008-05-23 23:59:41 -04:00
Bill Hoffman 60e0c7ed9c ENH: better fix for not adding / 2008-05-23 15:52:15 -04:00
Bill Hoffman 2218d1527f BUG: 7011 findqt hangs because of glob with find_path and framework header serach 2008-05-23 15:25:04 -04:00
Bill Hoffman 1427aa8391 BUG: fix for bug 7077 handle DartMeasurement tags with tyep text/html 2008-05-23 11:28:46 -04:00
Brad King 20e0d163e0 STYLE: Nightly Date Stamp 2008-05-22 23:59:47 -04:00
Brad King 3d9bb60ea8 STYLE: Nightly Date Stamp 2008-05-21 23:59:54 -04:00
Brad King 23a60d561c BUG: Fix makefile generator to have link rules depend on all full path libraries that appear on the link line. This allows projects to relink when imported targets have changed. 2008-05-21 19:57:35 -04:00
Brad King e25a9a4169 STYLE: Nightly Date Stamp 2008-05-21 00:00:10 -04:00
Bill Hoffman afdc33dbb8 BUG: fix failing test 2008-05-20 12:15:40 -04:00
Bill Hoffman fd0e8b3a56 BUG: fix bugs in new style list command that handles empty stuff 2008-05-20 11:30:30 -04:00
Brad King 71bfea5ab7 STYLE: Nightly Date Stamp 2008-05-20 00:00:14 -04:00
Brad King 2783b537cd STYLE: Nightly Date Stamp 2008-05-19 00:00:28 -04:00
Brad King 48b18b684a STYLE: Nightly Date Stamp 2008-05-18 00:00:24 -04:00
Brad King c1b8ad4e1d ENH: Allow users to specify a custom Info.plist template
- Create MACOSX_BUNDLE_INFO_PLIST target property to specify template.
  - Look for MacOSXBundleInfo.plist.in in CMAKE_MODULE_PATH by default.
  - See issue #6983.
2008-05-17 12:53:56 -04:00
Brad King b9ede3c86d BUG: Fix previous change to file(STRINGS) command.
- Previous change added form-feed as a string terminator.
  - Instead it should just be recognized as a valid string character.
2008-05-17 11:42:11 -04:00
Brad King 7ed8deeac2 STYLE: Nightly Date Stamp 2008-05-17 00:00:42 -04:00
Brad King 0c6ba12efd ENH: Teach Fortran compiler identification about the Portland Group compiler (PGI). 2008-05-16 17:50:24 -04:00
Brad King 10db44a81d COMP: Fix build with concept checking of STL.
- Fix cmSourceGroup to not use std::vector with an incomplete type.
2008-05-16 16:56:41 -04:00
Brad King f43748e1dd ENH: Add assignment operator to KWSys RegularExpression. 2008-05-16 11:06:18 -04:00
Brad King b18b370aab STYLE: Nightly Date Stamp 2008-05-16 00:00:42 -04:00
Clinton Stimpson f8f4140b6c ENH: Add cross compiling support in the GUI in the same dialog that prompts for
the generator on the first configure.  It either ask for a toolchain file
      or asks for all the information a toolchain file might contain.

      Also added option for setting non-default compilers if not cross compiling.
      Fixes #6849.

      Also a bit of code cleanup and re-organizing.
2008-05-15 19:21:01 -04:00
Brad King 7327037508 STYLE: Nightly Date Stamp 2008-05-15 00:00:52 -04:00
Brad King 6a906befae ENH: In KWSys set the IMPLICIT_DEPENDS_INCLUDE_TRANSFORM property.
- Tells CMake about the KWSYS_HEADER macro.
  - Enables implicit dependencies of private source files.
  - When a CMake new enough to support the property is required
    the "#if 0" hack can be removed from the source files.
2008-05-14 11:55:41 -04:00
Brad King a1bb7e90ef ENH: Allow users to specify macro-like #include line transforms for dependency scanning.
- Define IMPLICIT_DEPENDS_INCLUDE_TRANSFORM property on targets and directories.
  - Make the directory version inherited.
  - See issue #6648.
2008-05-14 11:54:52 -04:00
Brad King 7652a8a1e5 ENH: Teach cmDependsC about user-configured macro transformations.
- Syntax is SOME_MACRO(%)=value-with-%
  - Later we will configure these with target and directory properties.
  - See issue #6648.
2008-05-14 11:54:32 -04:00
Brad King 600e5e274e ENH: Add SKIP_RULE_DEPENDS option for add_custom_command()
- Allows make rules to be created with no dependencies.
  - Such rules will not re-run even if the commands themselves change.
  - Useful to create rules that run only if the output is missing.
2008-05-14 11:38:47 -04:00
Brad King 3fb5602e54 STYLE: Nightly Date Stamp 2008-05-14 00:00:56 -04:00
Alexander Neundorf 9a4e1c5cff STYLE: add "--help-policy" and "--help-policies" to the documentation
-generate and install the policy documentation files
-generate and install the docbook files for cmake, ctest, cpack, ccmake (cmake-gui not yet ?)

Alex
2008-05-13 15:43:00 -04:00
Brad King 9eee4149ec BUG: When byte order is not known at compile time make sure NeedSwap in cmELF is still initialized. 2008-05-13 10:34:24 -04:00
Brad King d707719d57 ENH: In cmELF it is okay if the byte order is not known at compile time.
- We perform a runtime check of the input file anyway.
2008-05-13 10:24:23 -04:00
Brad King 98127bc4a3 ENH: Add ARM support to KWSys CPU header.
- Patch from Pierre Habouzit
2008-05-13 10:24:15 -04:00
Mathieu Malaterre 7499bb250d ENH: all ctype function have the same issue: char can be signed or unsigned, since isspace only deal with >=0 value (except EOF) one has to first cast it to unsigned char 2008-05-13 05:18:51 -04:00
Brad King 113a9dc85a STYLE: Nightly Date Stamp 2008-05-13 00:01:04 -04:00
Alexander Neundorf 4ce05b6e07 BUG: make ENABLE_LANGUAGE(ASM-ATT OPTIONAL) work again: if it didn't work
but was optional, don't delete the cache

Alex
2008-05-12 18:33:08 -04:00
Brad King 771bdb7ef8 BUG: Make sure all source files are found before generating.
- Previously this was done implicitly by the check for a target
    link language which checked all source full paths.
  - The recent change to support computing a link language without
    finding all the source files skipped the implicit check.
  - This change adds an explicit check to find all source files.
2008-05-12 17:43:45 -04:00
Alexander Neundorf 96525cf3c3 BUG: make "cmake -Wno-dev ../srcdir" work, advancing i had the effect that
the argument after -Wno-dev was skipped, which happened to be the source
directory, and so the current working directory was assumed as source
directory, although it was the build directory (maybe this didn't have an
effect if there was already a CMakeCache.txt in the build dir)

Alex
2008-05-12 16:54:43 -04:00
Bill Lorensen 614b1ab358 COMP: warning, isprint and isspace take int args. 2008-05-12 12:01:09 -04:00
Alexander Neundorf 39bf28f5d2 STYLE: use lower case also for the ctest-specific commands, as in cmake
I hope I didn't make a typo anywhere, at least the tests still succeed

Alex
2008-05-12 09:11:51 -04:00
Brad King ab2cb66dd8 STYLE: Nightly Date Stamp 2008-05-12 00:01:16 -04:00
Brad King c7ca6b5ca1 STYLE: Nightly Date Stamp 2008-05-11 00:01:18 -04:00
Bill Lorensen 68dfcefbcb COMP: sprintf warnings. DWORD should use %ld rather than %d. Also, const char *p, a shadowed variable warning. 2008-05-10 22:48:53 -04:00
Brad King 071725a1c1 BUG: Fix generation of some paths into .cmake files in the build tree to escape strings for the CMake language. This fix allows users to put double quotes in the SOVERSION of a shared library. 2008-05-10 18:39:06 -04:00
Brad King 09dd298f63 BUG: Fix logic that loops over multiple output pairs to not loop beyond the vector when there are an odd number of entries. 2008-05-10 18:39:00 -04:00
Bill Hoffman ffbe61bb11 ENH: make sure english is used for output of gcov 2008-05-10 11:12:09 -04:00
Brad King a6b053ecb9 STYLE: Nightly Date Stamp 2008-05-10 00:01:25 -04:00
Alexander Neundorf 0d70967a04 STYLE: insert newlines after listitem so the generated lines don't get
several thousand characters long

Alex
2008-05-09 17:50:45 -04:00
Brad King bd178c4b1f STYLE: Nightly Date Stamp 2008-05-09 00:01:33 -04:00
Bill Hoffman 8f4fb4ba2a ENH: fix for 64 bit cmake on mac 2008-05-08 21:14:16 -04:00
Bill Hoffman b7ed54c950 BUG:6990 fix crash with set_source_files_properties 2008-05-08 15:49:53 -04:00
Bill Hoffman 2b6ee95c1d BUG: 0006988 do not set coverage to false when it is not 2008-05-08 12:47:30 -04:00
Brad King 12935b1599 ENH: Light refactoring of implicit dependency scanning configuration implementation.
- Move lookup of config variables from cmLocalUnixMakefileGenerator3 to cmDepends hierarchy.
2008-05-08 10:09:14 -04:00
Brad King 92198d6b37 STYLE: Nightly Date Stamp 2008-05-08 00:01:43 -04:00
Brad King 55606b155e BUG: Fix repeated re-scanning of dependencies when the results do not change.
- We re-scan deps when DependInfo.cmake is newer than depend.internal
  - Therefore depend.internal should not be copy-if-different
2008-05-07 17:25:05 -04:00
Bill Hoffman 2a53075ed8 ENH: fix sort to work with CMP0007 2008-05-07 14:57:29 -04:00
Brad King 66b01e254f STYLE: Nightly Date Stamp 2008-05-07 00:01:39 -04:00
Brad King 26448fe2e2 STYLE: Nightly Date Stamp 2008-05-06 00:01:42 -04:00
Brad King 199e85910f ENH: Fix generated documentation internal links.
- Previously all links started in 'command_' which led to conflicts
    and was confusing for non-command items.
  - Use a per-section name that is meaningful to humans.
  - Fix link id names to be valid HTML.
2008-05-05 12:02:36 -04:00
Brad King 1b23b65ed5 STYLE: Nightly Date Stamp 2008-05-05 00:00:12 -04:00
Brad King b5307e01a9 STYLE: Nightly Date Stamp 2008-05-04 00:00:17 -04:00
Brad King 6585e1d238 STYLE: Nightly Date Stamp 2008-05-03 00:00:18 -04:00
Bill Hoffman bf8ed70534 BUG: really fix build on vs6 2008-05-02 17:36:08 -04:00
Bill Hoffman 47fa89b6e9 BUG: fix build on vs6 2008-05-02 17:22:46 -04:00
Bill Hoffman 9c63132c3c ENH: use GlobalMemoryStatusEx as it is able to report more than 2gigs 2008-05-02 11:44:26 -04:00
Brad King ab0c2757d5 COMP: Fix warnings in KWSys SystemInformation on Borland compiler.
- Remove two unused variables.
  - Replace dynamically allocated array with static.
2008-05-02 09:14:37 -04:00
Brad King cfc425c134 STYLE: Nightly Date Stamp 2008-05-02 00:00:20 -04:00
Brad King c70512fbef STYLE: Nightly Date Stamp 2008-05-01 00:00:26 -04:00
Bill Hoffman a131a82811 STYLE: fix warning 2008-04-30 22:17:35 -04:00
Brad King 3a5bdaa213 ENH: When preserving potentially static portions of original user link lines recognize shared library names by their extension and skip them. 2008-04-30 18:04:48 -04:00
Brad King 9631c499dc BUG: For Watcom WMake use the short path to avoid quoting problems in custom commands with shell redirections. 2008-04-30 15:58:56 -04:00
Brad King 16ec04c2a7 BUG: Fix escaping of more characters on Windows shells. 2008-04-30 15:58:45 -04:00
Brad King 1381aab4b7 BUG: Remove check for files written by file(WRITE) being loaded.
- CMake 1.8 and below did not do the check but could get in
    infinite loops due to the local generate step.
  - CMake 2.0 added the check but failed to perform it in directories
    with no targets (see bug #678).
  - CMake 2.2 removed the local generate which fixed the problem but
    did not remove the check.
  - Between CMake 2.4 and 2.6.0rc6 the check was fixed to work even
    when no targets appear in a directory (see bug #6923).
  - Bottom line: the check is no longer needed.
2008-04-30 13:42:40 -04:00
Bill Hoffman 10c91ded4f ENH: add support for Intel Fortran Visual studio IDE 2008-04-30 13:26:04 -04:00
Brad King 47bfda0acb BUG: Fix kwsysSystem_Shell_GetArgumentForWindows to reset the windows trailing backslash count to zero when a make variable reference is encountered. 2008-04-30 10:02:08 -04:00
Brad King 893d0fe0d1 STYLE: Nightly Date Stamp 2008-04-30 00:00:26 -04:00
Brad King c7d84b21c6 BUG: Do not escape shell operators when generating command lines.
- See bug#6868.
  - Update CustomCommand test to check.
2008-04-29 15:34:49 -04:00
Brad King 3344ce9197 ENH: In cmSourceFile::GetLanguage use the file extension (if not ambiguous) to determine the language without requiring the source file to exist. 2008-04-29 14:17:42 -04:00
Brad King 19aafdb355 ENH: Add context information when a source file cannot be found. 2008-04-29 14:17:35 -04:00
Brad King fb8c255c2d ENH: In cmMakefile::IssueMessage report the directory-level context even if no list file is currently being processed. 2008-04-29 14:17:28 -04:00
Bill Hoffman 2421c11a98 BUG: move this back out of the if statemtn 2008-04-29 12:10:47 -04:00
Brad King 50c187903d STYLE: Nightly Date Stamp 2008-04-29 00:00:29 -04:00
Bill Hoffman d4fdbeed64 ENH: allow users to set sysroot 2008-04-28 13:53:14 -04:00
Brad King 9bc893eb16 STYLE: Nightly Date Stamp 2008-04-28 00:00:31 -04:00
Alexander Neundorf 68d6394cef ENH: protect the export files against inclusion with cmake 2.4
Alex
2008-04-27 07:30:46 -04:00
Alexander Neundorf 05f84cb091 ENH: write the cmake version into the file created by EXPORT_LIBRARY_DEPENDENCIES()
to help with debugging later on. The same should be done in the import
target files (but I didn't have time to do it yet).
STYLE: fix line length in cmListFileCache.cxx

Alex
2008-04-27 07:01:05 -04:00
Brad King 231fb3756c STYLE: Nightly Date Stamp 2008-04-27 00:00:40 -04:00
Bill Hoffman 7fe2737dd9 BUG: fix for bug 6911, aux source dir was broken from a previous fix 2008-04-26 08:39:27 -04:00
Brad King 01ed151c27 STYLE: Nightly Date Stamp 2008-04-26 00:00:38 -04:00
Brad King b69cfaf412 BUG: Trust user-provided source file full paths. 2008-04-25 15:30:58 -04:00
Brad King 7a9b6dffa9 STYLE: Nightly Date Stamp 2008-04-25 00:00:48 -04:00
Bill Hoffman d47734bd98 ENH: remove odd chars from file 2008-04-24 15:47:36 -04:00
Brad King cc7aef2320 STYLE: Nightly Date Stamp 2008-04-24 00:00:43 -04:00
Brad King 5bf6dba9e8 ENH: Patch from Maik to add Fortran03 USE syntax support.
- I tweaked the patch to add 'other' production rules for COMMA and DCOLON
  - See issue #6884.
2008-04-23 23:53:20 -04:00
Jeffrey Baumes 4cf167173f ENH: Allow numbers in username in URL regex. 2008-04-23 12:51:02 -04:00
Brad King 71872ac926 BUG: Fix implementation of CMP0006 to not override the BUNDLE destination with the RUNTIME destination. 2008-04-23 11:13:25 -04:00
Bill Hoffman 456b5dab0f ENH: add better error checks to symlink create stuff 2008-04-23 09:58:18 -04:00
Bill Hoffman 4801fb841f ENH: handle empty lists correctly 2008-04-23 09:56:54 -04:00
Brad King 85c983885b BUG: Fix preservation of static libraries on original link lines. 2008-04-23 00:40:19 -04:00
Brad King bd09f6eabc ENH: Simplify link lines in some cases by not allowing targets to be inferred dependees of items with unknown dependencies. 2008-04-23 00:40:12 -04:00
Brad King cbdc1d6e19 STYLE: Nightly Date Stamp 2008-04-23 00:00:45 -04:00
Bill Hoffman 7f5446b2ef BUG: fix for bug 6834 RC should not get all COMPILE_FLAGS from a target and should work the same way as it does in the vs ide 2008-04-22 11:10:19 -04:00
Brad King 57e137b8fb STYLE: Nightly Date Stamp 2008-04-22 00:00:50 -04:00
Bill Hoffman 21ad82a21b BUG: fix for 6720, source groups on vs6 not working 2008-04-21 18:24:56 -04:00
Bill Hoffman 0a0672c01f ENH: fix list command with empty elements 2008-04-21 16:57:11 -04:00
Brad King 2eb3653d79 STYLE: Fix reference to makedepf90 project. 2008-04-21 11:28:53 -04:00
Brad King 52898fe925 BUG: Fix Fortran dependency parser preprocessor handling crash.
- Do not crash if a #elseif occurs out of order
  - Recognize preprocessor directives only at the beginning of lines.
  - See issue #6855
2008-04-21 11:15:56 -04:00
Brad King fd0690fceb STYLE: Nightly Date Stamp 2008-04-21 00:00:52 -04:00
Brad King 1f2492f597 STYLE: Nightly Date Stamp 2008-04-20 00:00:54 -04:00
Brad King 9da2eca17e STYLE: Nightly Date Stamp 2008-04-19 00:01:06 -04:00
Bill Hoffman b017a02b90 ENH: only complain about -l stuff for CMP0003 2008-04-18 17:32:15 -04:00
David Cole e7948f89f9 COMP: auto_ptr will not compile without including memory on some platforms 2008-04-18 10:55:04 -04:00
Brad King e5e00983d2 STYLE: Nightly Date Stamp 2008-04-18 00:01:00 -04:00
David Cole 968706b29e BUG: Fix mem leak. Thanks, Mathieu. 2008-04-17 12:06:20 -04:00
David Cole 8950fca4ce BUG: Fix for issue #6440. Use 0 instead of FALSE for ExceptionHandling with Visual Studio 2005 and later. 2008-04-17 11:16:53 -04:00
Brad King e2421c93d8 STYLE: Nightly Date Stamp 2008-04-17 00:01:03 -04:00
Brad King c7b71de086 STYLE: Nightly Date Stamp 2008-04-16 00:01:13 -04:00
Brad King cf3e180f14 COMP: Fix signed/unsigned comparison warning in cmELF. 2008-04-15 09:00:20 -04:00
Brad King a8604d07d0 STYLE: Nightly Date Stamp 2008-04-15 00:01:09 -04:00
Brad King 202e759bbf ENH: Clarify documentation of install(TARGETS) command to refer to install target types by the upper-case keywords used when invoking the command. 2008-04-14 18:03:15 -04:00
Brad King 067717a56a BUG: Fix compatibility with CMake 2.4 for installation of MACOSX_BUNDLE targets
- Add policy CMP0006 to decide whether to use compatibility
  - OLD behavior is to fall back to RUNTIME rules
  - NEW behavior is to produce an error
2008-04-14 17:53:11 -04:00
Clinton Stimpson 3052d2c854 BUG: Fix issue when non-error messages were incorrectly colored red. 2008-04-14 16:15:28 -04:00
Brad King 629afe07ce BUG: A per-config target name postfix should be ignored for Mac bundle and framework names. 2008-04-14 15:27:27 -04:00
Brad King fdc3bfff7c ENH: Improve RPATH behavior during installation.
- If new RPATH is empty then remove the entry completely
  - Preserve file modification time so installation is not repeated
  - If installed file already exists remove it if its RPATH
    does not match that expected
2008-04-14 15:02:44 -04:00
Brad King b9a5dccc8d ENH: Added RPATH methods to cmSystemTools
- RemoveRPath to remove the RPATH from a binary
  - CheckRPath to check for an existing RPATH in a binary
2008-04-14 15:02:34 -04:00
Brad King 3ff5404cca ENH: Added cmELF methods to get information about DYNAMIC section entries. 2008-04-14 15:02:24 -04:00
Brad King 9b8404a305 COMP: Fix new cmSystemTools file time methods on Windows. 2008-04-14 12:44:01 -04:00
Brad King 703b8c8225 ENH: Added methods to cmSystemTools to save and restore file modification times. 2008-04-14 11:43:45 -04:00
Brad King ce0f575473 ENH: Make message(SEND_ERROR) report context. 2008-04-14 09:20:16 -04:00
Brad King 238d9d9e30 BUG: When MACOSX_PACKAGE_LOCATION specifies Headers/foo we must still create the Headers symlink. 2008-04-14 09:08:35 -04:00
Brad King 5db84ae9b0 STYLE: Nightly Date Stamp 2008-04-14 00:01:20 -04:00
Brad King c4a821d029 STYLE: Nightly Date Stamp 2008-04-13 00:01:14 -04:00
Brad King fcc841167d STYLE: Nightly Date Stamp 2008-04-12 00:01:19 -04:00