8687 Commits

Author SHA1 Message Date
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