1. 08 Oct, 2009 5 commits
    • David Cole's avatar
      Reduce duration of ctest_sleep arguments. Add SmallAndFast project. Replace... · c16ac1a3
      David Cole authored
      Reduce duration of ctest_sleep arguments. Add SmallAndFast project. Replace kwsys with SmallAndFast to make CTestTest faster. (I will keep an eye on coverage results after this commit and make sure we still have equivalent ctest coverage.)
    • Brad King's avatar
      Do not use -fPIC to link executables · 65b6a8f5
      Brad King authored
      The commit "add support for borland run time flag for shared builds"
      started using the value of CMAKE_SHARED_LIBRARY_CXX_FLAGS to link
      executables because Borland requires some flags both at compile and link
      time.  This change ended up propagating all the way to the current
      Makefile generators and the behavior applies on all platforms.
      In general it is incorrect to use these flags to link executables.  The
      commit "Split Borland compiler information files" re-wrote Borland
      support to work without this behavior, so we remove it in this commit.
      Patch from Ben Hutchings.  See issue #9659.
    • Brad King's avatar
      Split Borland compiler information files · 0653286d
      Brad King authored
      This commit re-writes Borland compiler build rules.  We split the rules
      into modern <os>-<id>-<lang> information modules but share a common
      macro between languages to avoid duplication.
      We also address a bug in the previous rules that would build some target
      types against the static Borland runtime and others against the shared
      Borland runtime in one build tree.  Now we always use the shared runtime
      as is the default in the rules for MS tools.
    • Zach's avatar
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · f3a0fba7
      Kitware Robot authored
  2. 07 Oct, 2009 9 commits
    • Clinton Stimpson's avatar
    • Brad King's avatar
      Make Complex test of CMakeLib more optional · 7dcfc8d2
      Brad King authored
      Previously we passed inputs to the decision to each Complex test and let
      the test source decide.  This commit moves the decision out of the tests
      and makes it an option() in their source.  This makes it possible to
      build the Complex tests from outside the CMake test tree.
    • Brad King's avatar
      Modernize FindVTK module · 2c1a01dc
      Brad King authored
      This teaches the FindVTK module to use the Config mode of find_package()
      to search for VTKConfig in the common case.  The old search method based
      on find_path() and UseVTK is now used only to search for VTK 4.0.
      This approach avoids the need to update the module for each new VTK
      version because find_package(VTK) automatically searches "lib/vtk*".  It
      also addresses issue #9105 since find_package searches lib64 paths too.
    • Brad King's avatar
      Fix find_package() when <pkg>_DIR is wrong · 71910b3f
      Brad King authored
      When <pkg>_DIR is set to an incorrect version we search again and store
      the result in the variable, even if it is <pkg>_DIR-NOTFOUND.
      There was a bug in the case when the new search does not find anything
      and the old value came from a cache entry with UNINITALIZED type.  The
      command used to try to load a package configuration file from the last
      place searched, and would leave the old wrong value in the entry.  This
      commit fixes the behavior to avoid trying to load a missing file and to
      set the value to <pkg>_DIR-NOTFOUND as expected.
    • Brad King's avatar
      Do not collapse path of NOTFOUND values · 1b5a986a
      Brad King authored
      In cmMakefile::AddCacheDefinition we collapse paths specified in PATH or
      FILEPATH cache entries originally specified on the command line with
      UNINITALIZED type.  This commit fixes the logic to avoid collapsing
      <var>-NOTFOUND and other false values.  The change allows other CMake
      code to force a NOTFOUND value on an entry with UNINITALIZED type.
    • Brad King's avatar
      More robust implicit link line detection regex · fff1c6d2
      Brad King authored
      The regex used by CMAKE_PARSE_IMPLICIT_LINK_INFO to detect link lines
      should not match lines that happen to have ".../ld.../..." in them.  A
      linker name should match only as the last component of a path.
      See issue #9666.
    • Bill Hoffman's avatar
      fix Xcode 30 generator · 45d22b48
      Bill Hoffman authored
    • David Cole's avatar
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · d542cc01
      Kitware Robot authored
  3. 06 Oct, 2009 15 commits
    • James Bigler's avatar
      Fix Xcode build. · 94fff7af
      James Bigler authored
      Move the make_directory command to the main target, so that CMAKE_CFG_INTDIR
      will get expanded by the build tool.
    • Brad King's avatar
      Use integer literal instead of character · ca95b339
      Brad King authored
      The commit "Support more special characters in file(STRINGS)" added code
      using a 'char' literal as an array index.  Some compilers warn about
      this because char might be a signed type, leading to negative indices.
      We replace the literal with an integer to avoid the warning.
    • Brad King's avatar
      Support more special characters in file(STRINGS) · c6fdff2b
      Brad King authored
      The commits "Teach Fortran compiler identification about the Portland
      Group compiler" and "Fix previous change to file(STRINGS) command"
      taught file(STRINGS) to recognize the form-feed '\f' character as part
      of string literals.  The Portland Group Fortran compiler also puts 0x14
      bytes at the end of string literals in some cases.  We generalize the
      previous solution and add the new character in this commit.
    • Brad King's avatar
      Log implicit link line detection regex · 20e6ac32
      Brad King authored
      This commit teaches the CMAKE_PARSE_IMPLICIT_LINK_INFO function to log
      the regex it uses to detect the linker invocation line.  The regex is
      computed from the CMAKE_LINKER if it is found, so it might change.  A
      strange value might match the wrong line and cause implicit link info
      extraction to fail.
      See issue #9666.
    • Brad King's avatar
      Log implicit link information parsing actions · b9850a61
      Brad King authored
      This commit teaches the CMAKE_PARSE_IMPLICIT_LINK_INFO function to log
      its actions.  We store the log in CMakeFiles/CMakeOutput.log at the top
      of the project build tree.  This will make diagnosis of implicit link
      information parsing problems easier.
    • Zach's avatar
    • David Cole's avatar
      Increase coverage. Intentionally trigger error conditions. Call all the... · 5b74d031
      David Cole authored
      Increase coverage. Intentionally trigger error conditions. Call all the else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile.
    • Alexander Neundorf's avatar
      speedup C dependency scanning even more · 8a5ae4c1
      Alexander Neundorf authored
      Scanning the dependencies for kdelibs/khtml/ (when all files are scanned) is
      now down to 4.6 s from 6.3 s before this change (without the
      headerLocationCache it takes about 14 s here).
      It doesn't really make sense to include the complete include path as part
      of the key for the map, since the include path will be the same for
      all files in a project, so it doesn't add anything.
    • Brad King's avatar
      Avoid non-root copies of root-only targets · 9000b5a4
      Brad King authored
      In cmGlobalGenerator::GetTargetSets we collect targets from all local
      generators in a tree or subtree corresponding to a project() command.
      Some targets, such as ALL_BUILD, are duplicated in each subdirectory
      with a project() command.  For such targets we should keep only the copy
      for the top-most (root) local generator.
      Previously this filtering was done in each VS IDE generator, but it is
      easier to do it in one place when the targets are first encountered.
      This also fixes bad ALL_BUILD dependencies generated for VS 7.0 because
      the cmGlobalVisualStudio7Generator::WriteTargetDepends method was not
      filtering out duplicates.  Now we avoid duplicates from the start.
    • David Cole's avatar
    • Zach's avatar
      Added better OS information for Mac OS X · 444e5818
      Zach authored
    • Brad King's avatar
      Use work-around from bug 4772 for C++ and Fortran · d0c03f80
      Brad King authored
      The commit "fix for bug 4772" added a work-around to CMakeCInformation
      for platform config files that put compiler information in the system
      file (like SunOS flags for GCC).  This commit adds the same work-around
      for CXX and Fortran.  It is necessary to support enabling these
      languages separately from C in other subdirectories.
      The commit "Avoid (Unix|Windows)Paths.cmake multiple include" added
      include blockers that prevent the files from multiple inclusion, so it
      is safe to include the system information files from every language.
      See issue #4772 and issue #9656.
    • Brad King's avatar
      Target copy ctor should initialize internal state · d8f6d3a2
      Brad King authored
      The commit "Target copy ctor should copy internal state" created a new
      cmTargetInternals constructor but failed to initialize a POD member that
      the original constructor initializes.  This commit fixes it.
    • Brad King's avatar
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 6b14c1d2
      Kitware Robot authored
  4. 05 Oct, 2009 11 commits