Commit Graph

10651 Commits

Author SHA1 Message Date
Bill Hoffman 7dfcc3fc12 ENH: add DOWNLOAD option to FILE command 2008-02-06 09:35:02 -05:00
Bill Hoffman 0c3607eafc ENH: change name of qt-dialog 2008-02-06 09:17:03 -05:00
Brad King 4664b3aedf STYLE: Nightly Date Stamp 2008-02-06 00:01:04 -05:00
Brad King 523ddedac5 ENH: Analyze inter-target dependencies to safely fix cycles
- Cycles may be formed among static libraries
  - Native build system should not have cycles in target deps
  - Create cmComputeTargetDepends to analyze dependencies
  - Identify conneced components and use them to fix deps
  - Diagnose cycles containing non-STATIC targets
  - Add debug mode property GLOBAL_DEPENDS_DEBUG_MODE
  - Use results in cmGlobalGenerator as target direct depends
2008-02-05 23:10:41 -05:00
Brad King 5b9fccdc0e STYLE: Nightly Date Stamp 2008-02-05 00:01:02 -05:00
Brad King efec4f1cd6 COMP: Add missing include for assert. 2008-02-04 19:00:33 -05:00
Brad King 8401c5ba06 ENH: Allow separate installation of shared libs and their links.
- Add NAMELINK_ONLY and NAMELINK_SKIP to INSTALL command
  - Options select a \"namelink\" mode
  - cmInstallTargetGenerator selects files/link based on mode
  - See bug #4419
2008-02-04 17:03:48 -05:00
Bill Hoffman 852f6018bb ENH: make sure ALL_BUILD only shows up once 2008-02-04 16:05:00 -05:00
Brad King 847c8403fe BUG: Added TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help compute proper rpath information on AIX when shared libraries have names like "libfoo.a". 2008-02-04 15:22:10 -05:00
Brad King c12a7e388d BUG: When configuring compiler information files into the CMakeFiles directory in the project build tree, use IMMEDIATE option for CONFIGURE_FILE explicitly. It is needed in case the user sets CMAKE_BACKWARDS_COMPATIBILITY to 2.0 or lower. 2008-02-04 10:04:23 -05:00
Brad King e67dc68a3b STYLE: Nightly Date Stamp 2008-02-04 00:01:03 -05:00
Brad King bbbb2be765 BUG: When forcing the C and CXX compilers do not try to detect the ABI information. Cleanup configured language compiler info files by always using @ONLY. This addresses bug#6297. 2008-02-03 17:24:50 -05:00
Brad King dc06ac5881 COMP: Avoid warning in kwsys IOStream.cxx when the helper functions are not needed. Define one public symbol to avoid complaints from archivers about empty object files. 2008-02-03 08:58:10 -05:00
Brad King 4d9fa41124 COMP: Convert C function prototypes to use (void) instead of (). 2008-02-03 08:57:58 -05:00
Brad King 62145a5811 BUG: cmCTest::GetConfigType should return the string by reference-to-const so that callers may use .c_str() safely. 2008-02-03 08:57:41 -05:00
Brad King 6b8bb7d7fa COMP: Fix warning in SystemInformation.cxx about possibly incorrect assignment in if condition. 2008-02-03 08:20:11 -05:00
Brad King 8280232d0d COMP: Fix unreachable code warning. Remove runtime test of constant information. 2008-02-03 08:14:38 -05:00
Brad King b38bc43894 COMP: Remove inline keyword from forward declaration for VS9. 2008-02-03 08:07:17 -05:00
Brad King 607e05ff1a STYLE: Nightly Date Stamp 2008-02-03 00:01:02 -05:00
Bill Hoffman e3b0d3927a ENH: fix infinite loop from size_t change 2008-02-02 16:18:35 -05:00
Brad King f2dfa8925b ENH: Enable dependent library search paths on more platforms
- NetBSD needs dependent library paths in -rpath-link option.
  - kFreeBSD needs dependent library paths in -rpath-link option.
2008-02-02 08:58:53 -05:00
Brad King dce9f2dad7 STYLE: Nightly Date Stamp 2008-02-02 00:01:05 -05:00
Ken Martin 8f5e85c4cc ENH: disable test for vs 70 as devenv randomly segfaults when building the sub-project 2008-02-01 16:17:06 -05:00
Ken Martin 22835a71cd ENH: really Bill, using Ken's checkout, fix output in ctest so clean output in build and test is not lost, also display the command lines used 2008-02-01 16:05:40 -05:00
Brad King 0dac20cd20 BUG: Fixed typo resulting in confusing error message from cmExportInstallFileGenerator. 2008-02-01 14:35:14 -05:00
Clinton Stimpson 593c213f16 BUG: When preserving relative paths for moc generated files,
also consider paths to headers in the build directory.
2008-02-01 13:52:04 -05:00
Brad King 16186ec18c BUG: Remove InstallNameFixupPath from cmTarget and cmInstallTargetGenerator.
- Motivation:
    - It depended on the order of installation
    - It supported only a single destination for each target
    - It created directory portions of an install name without user request
  - Updated ExportImport test to install targets in an order that expoed
    this bug
2008-02-01 13:08:12 -05:00
Bill Hoffman 15741325e0 ENH: fix warnings 2008-02-01 12:35:50 -05:00
Clinton Stimpson d94087ab44 ENH: Use new COMPILE_DEFINITIONS_* with set_property to
add Qt release/debug defines.
2008-02-01 12:02:19 -05:00
Clinton Stimpson f1b334ca7a ENH: Show version number in window title. 2008-02-01 11:48:00 -05:00
Bill Hoffman 2564097e8c ENH: fix more warnings 2008-02-01 11:40:55 -05:00
Bill Hoffman 5343910cba ENH: fix more warnings 2008-02-01 11:36:06 -05:00
Bill Hoffman 889d900ef2 ENH: fix more warnings 2008-02-01 11:34:42 -05:00
Bill Hoffman f6826df4f3 ENH: fix more warnings 2008-02-01 11:33:14 -05:00
Bill Hoffman 9b55f81522 ENH: fix some warnings and 64 bit build windows 2008-02-01 11:30:08 -05:00
Bill Hoffman 32409bb8e3 ENH: fix win64 build and a warning 2008-02-01 11:09:39 -05:00
Clinton Stimpson 41ad9d20df ENH: Use translation file if it exists for the locale.
Consolidate some strings.

      More responsive interrupting.  Prompt user if they try to close during
      configure, and allow them to close.
2008-02-01 10:41:29 -05:00
Brad King 587419db83 ENH: Update ExportImport test to enforce dependent library paths
- Build without rpaths
  - Place implementation libs in separate directories
2008-02-01 09:57:47 -05:00
Brad King f49ec94e9f ENH: Enable dependent library search paths on more platforms
- HP-UX needs dependent library paths as -L options.
  - IRIX needs dependent library paths as -L options.
  - Sun needs dependent library paths as -L options.
  - FreeBSD needs dependent library paths in -rpath-link option.
2008-02-01 09:57:41 -05:00
Brad King 65761dee55 BUG: Fix commit 1.41 of Tests/CMakeLists.txt to place fake target before --version flag instead of after. 2008-02-01 09:36:54 -05:00
Brad King 82fcaebe28 ENH: Pass dependent library search path to linker on some platforms.
- Move runtime path ordering out of cmComputeLinkInformation
    into its own class cmOrderRuntimeDirectories.
  - Create an instance of cmOrderRuntimeDirectories for runtime
    path ordering and another instance for dependent library
    path ordering.
  - Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit
    CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean.
  - Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean.
  - Create variables to specify -rpath-link flags:
      CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG
      CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG
  - Enable -rpath-link flag on Linux and QNX.
  - Documentation and error message updates
2008-02-01 08:56:00 -05:00
Brad King f28f1585f6 COMP: Fix shadowed local warning. 2008-02-01 08:55:41 -05:00
Brad King 6223f3f763 STYLE: Nightly Date Stamp 2008-02-01 00:01:03 -05:00
Bill Hoffman cc7c89ca51 ENH: try to fix hp and vs 6, again... 2008-01-31 21:33:32 -05:00
Bill Hoffman 5a36673807 STYLE: line length 2008-01-31 16:38:45 -05:00
Bill Hoffman 294dca62ee ENH: fixes for borland 2008-01-31 16:37:52 -05:00
Ken Martin 70e9412dc7 BUG: minor fix for ctest 2008-01-31 16:33:07 -05:00
Bill Hoffman dc0f41c298 ENH: remove extra junk 2008-01-31 16:10:32 -05:00
Brad King 2cff26fa52 ENH: Support linking to shared libs with dependent libs
- Split IMPORTED_LINK_LIBRARIES into two parts:
      IMPORTED_LINK_INTERFACE_LIBRARIES
      IMPORTED_LINK_DEPENDENT_LIBRARIES
  - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior
  - Set mode to LINK for Darwin (fixes universal binary problem)
  - Update ExportImport test to account for changes
2008-01-31 15:45:31 -05:00
Bill Hoffman 52e75800b4 ENH: fix for qnx, I hope, and fix indent stuff 2008-01-31 15:34:09 -05:00