Commit Graph

10622 Commits

Author SHA1 Message Date
Brad King 544c263f48 COMP: Add missing assert include. 2008-02-07 16:24:54 -05:00
Alexander Neundorf d4ffc0d3b9 STYLE: add some comments
Alex
2008-02-07 16:22:00 -05:00
Brad King bdb628145a ENH: Make Dependency test Case2 require two traversals of a static library loop. 2008-02-07 16:14:17 -05:00
Brad King 4987e17f46 ENH: Improve link line generation for static library cycles.
- Move Tarjan algorithm from cmComputeTargetDepends
    into its own class cmComputeComponentGraph
  - Use cmComputeComponentGraph to identify the component DAG
    of link dependencies in cmComputeLinkDepends
  - Emit non-trivial component members more than once but always
    in a contiguous group on the link line
2008-02-07 16:14:05 -05:00
Bill Hoffman 0bfad2946d ENH: make sure files are binary for download and make status a pair of value string 2008-02-07 13:26:16 -05:00
Bill Hoffman 4f44c7875f BUG: fix for bug 6117 pkgconfig 2008-02-07 13:19:38 -05:00
Bill Hoffman 9afb2100c1 ENH: for windows only allow a static qt for install and NSIS of cmake-gui 2008-02-07 11:43:20 -05:00
Bill Hoffman 378ca535a4 ENH: complex must link to curl now 2008-02-07 08:55:56 -05:00
Brad King aee3f7b54a STYLE: Nightly Date Stamp 2008-02-07 00:01:02 -05:00
Brad King 96c55629c5 BUG: Fix cmComputeLinkInformation to include the target's user link directories in the runtime path computation. This bug was introduced when cmOrderRuntimeDirectories was introduced. 2008-02-06 20:14:55 -05:00
Alexander Neundorf 10dfc89731 STYLE: use a function instead of a macro, to keep FAIL_MESSAGE local
patch from Miguel

Alex
2008-02-06 17:02:53 -05:00
Brad King d9b9720167 ENH: Make find_library test for the library file as named before trying prefixes and suffixes. This will allow users to explicitly search for static libraries on unix. See bug #1643. 2008-02-06 15:26:22 -05:00
Brad King a5074872b0 STYLE: Improve documentation of target_link_libraries command to make target-level dependency explicit. See bug #6043. 2008-02-06 15:23:36 -05:00
Clinton Stimpson 2f327a13a3 ENH: Update some strings to match program name. 2008-02-06 15:10:32 -05:00
Brad King 1cba430d1b ENH: Combine all dependency* tests into one Dependency test. Add more difficult test cases. 2008-02-06 14:52:12 -05:00
Clinton Stimpson 0cb622a28b BUG: On Mac OS X, give the CMake library the correct path to the cmake
exectuables.  Fixes #6286.
2008-02-06 14:45:32 -05:00
Brad King 9e64d5b272 ENH: Improve exporting/importing of targets
- Use real name instead of link for location of versioned targets
  - Error when a target is exported multiple times
2008-02-06 14:20:36 -05:00
Brad King afad124313 BUG: Make sure linking to a shared lib on windows uses import library and not the new realname. 2008-02-06 14:19:03 -05:00
Brad King 31a6670e43 BUG: Do not create versioned executable names on Xcode where they are not supported. 2008-02-06 14:06:50 -05:00
Brad King 07be6bb87b ENH: When linking to versioned targets whose real file name is known pass the real name to the linker instead of the symlink name. 2008-02-06 13:34:44 -05:00
Bill Hoffman a752fc5e85 ENH: remove debug print stuff 2008-02-06 09:46:58 -05:00
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