1. 06 Nov, 2012 4 commits
    • Alexander Neundorf's avatar
      AddCustomCommand: Handle multiple IMPLICIT_DEPENDS files (#10048) · 05f162ce
      Alexander Neundorf authored
      The code handling IMPLICIT_DEPENDS was only able to track a single file,
      the latest file replaced earlier files in the list.
      The documentation now mentions that the language has to be prefixed to
      every file and the test now uses two implicit dependencies, where only
      the second is modified to trigger re-running of the custom command.
      Inspired-by: default avatarMichael Wild <themiwi@users.sourceforge.net>
    • Michael Wild's avatar
      cmDepends: No dependency-vector erasure in CheckDependencies · c66f03ad
      Michael Wild authored
      Some dependency-generators (such as cmDependsFortran) generate multiple
      entries per depender, so erasing the dependency vector for each depender
      found loses earlier dependencies.
      Signed-off-by: default avatarMichael Wild <themiwi@users.sourceforge.net>
    • Alexander Neundorf's avatar
      cmDepends: allow multiple dependees per depender · e74ff7c2
      Alexander Neundorf authored
      This patch is heavily inspired by Michael Wild.
      The interfaces cmDepends::Write and cmDepends::WriteDependencies where
      extended to allow multiple dependees (sources) per depender (object).
      cmDepends::Write first collect all dependencies into a std::set before
      passing it to cmDepends::WriteDependencies.
      cmDependsC::WriteDependencies also first collects all explicit and
      implicit dependencies into a std::set and only then writes
      depend.{internal,make}. The implementation of cmDependsFortran simply
      loops over all sources and proceeds as before, whereas the cmDependsJava
      implementation is as trivial as before.
      This is for preventing exponential growth of depend.{internal,make} in
      the next commit which fixes dependency-vector erasure in
      Inspired-by: default avatarMichael Wild <themiwi@users.sourceforge.net>
    • Alexander Neundorf's avatar
      cmDependsC: fix indentation · ecc77d09
      Alexander Neundorf authored
      This is intentionally a separate commit, so the parent commit which
      changes the logic is small and not mixed with formatting (indentation)
      changes.  So, this patch here does not change any logic.
  2. 03 Nov, 2012 1 commit
    • Alexander Neundorf's avatar
      cmDependsC: remove code duplication · 3e7d97d4
      Alexander Neundorf authored
      This patch reduces a bit code duplication by changing the way how the
      case that we already have valid dependencies for a file is handled.
      Instead of having the code for writing the depend-files twice,
      we now fill the existing dependencies into the same set and then
      write it out once at the end of cmDependsC::WriteDependencies()
      Inspired-by: default avatarMichael Wild <themiwi@users.sourceforge.net>
  3. 30 Sep, 2012 1 commit
  4. 29 Sep, 2012 1 commit
  5. 28 Sep, 2012 12 commits
  6. 27 Sep, 2012 2 commits
    • David Cole's avatar
      FindMPI: Set correct variables for calls to FPHSA · 8b7a5c61
      David Cole authored
      Since FPHSA is called for multiple compiler languages with "MPI_${lang}"
      rather than just "MPI", make sure variables for controlling QUIET,
      REQUIRED and VERSION are propagated with names prefixed by MPI_${lang}
      as well, rather than just MPI.
      The find_package call sets up the values of MPI_FIND_REQUIRED and friends,
      but these calls to FPHSA need MPI_${lang}_FIND_REQUIRED and friends in
      order to function as intended.
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · 137ad7c7
      Kitware Robot authored
  7. 26 Sep, 2012 1 commit
  8. 25 Sep, 2012 18 commits