1. 22 Jun, 2015 1 commit
  2. 13 Jun, 2015 1 commit
    • Stephen Kelly's avatar
      cmGlobalGenerator: Add ComputeHomeRelativeOutputPath method. · 0efe4944
      Stephen Kelly authored
      Fix generation of tgt/fast build targets.
      
      Commit 363caa2f (cmLocalGenerator: De-virtualize Configure().,
      2015-05-30) moved the computation of HomeRelativeOutputPath from
      Configure-time to Generate-time, because it is only used at
      Generate-time.  However, that commit caused the member for one
      local generator to be computed immediately before generating with
      that local generator, whereas previously the members of all local
      generators were computed before generating any of them.
      
      The HomeRelativeOutputPath is used by the GetRelativeTargetDirectory
      method, which is called by the
      cmGlobalUnixMakefileGenerator3::WriteConvenienceRules method.  That
      method is called by the
      cmLocalUnixMakefileGenerator3::WriteLocalMakefile method when generating
      for the top-most (ie, the first) local generator.  At that point,
      the HomeRelativeOutputPath is not yet computed.
      
      Fix that by computing the member just before generating anything.
      This will eventually be done in the cmLocalUnixMakefileGenerator3
      constructor instead, but further refactoring is needed to make
      that possible.
      0efe4944
  3. 09 Jun, 2015 1 commit
  4. 07 Jun, 2015 1 commit
    • Stephen Kelly's avatar
      cmPropertyMap: Remove chaining logic. · 5181fae2
      Stephen Kelly authored
      The chaining logic doesn't belong to the container, and the
      CMakeInstance pointer doesn't need to be in cmPropertyMap.
      
      Size goes from 56 to 48 bytes with GNU libstdc++-5.1.
      5181fae2
  5. 04 Jun, 2015 4 commits
  6. 02 Jun, 2015 1 commit
  7. 27 May, 2015 3 commits
  8. 20 May, 2015 1 commit
  9. 16 May, 2015 1 commit
    • Stephen Kelly's avatar
      AutoGen: Don't iterate over a container while populating it. · 921d74d8
      Stephen Kelly authored
      The InitializeAutogenTarget creates new targets and adds them to the
      Targets container on the makefile.  In this method, we have a reference
      to that container and we are iterating over it.  That happens to work
      with hash_map, but it fails with undefined behavior when using the
      std::unordered_map from libstdc++-4.9 (and likely others).
      921d74d8
  10. 15 May, 2015 1 commit
  11. 14 May, 2015 2 commits
  12. 07 May, 2015 1 commit
    • Brad King's avatar
      RC: Simplify selection of resource compiler based on C/C++ toolchain · 957c2aac
      Brad King authored
      Revert the refactoring by commit v2.8.11~105^2~1 (Ninja: use MinGW
      generator code in EnableLanguage, 2013-03-09) and move the MinGW-
      specific logic back to the "MinGW Makefiles" generator.  Instead teach
      the platform information modules for GNU and MSVC on Windows to set the
      preferred RC compiler just before enabling the RC language.  This way
      we choose the RC compiler based on the C/C++ toolchain that is actually
      enabled.
      957c2aac
  13. 04 May, 2015 1 commit
  14. 30 Apr, 2015 1 commit
    • Brad King's avatar
      cmGlobalGenerator: Finish storing enabled languages in cmState · 27343e3b
      Brad King authored
      In commit 74de9a73
      
       (cmGlobalGenerator: Delegate storage of enabled
      languages to cmState, 2015-04-11) the original LanguageEnabled
      member of cmGlobalGenerator was left behind by mistake.  One use
      of it in EnableLanguagesFromGenerator (for try_compile) was left,
      but the member is not populated anymore.  Drop the member and
      teach EnableLanguagesFromGenerator to copy the list of enabled
      languages from one cmState to the other.
      Reported-by: Matt McCormick's avatarMatt McCormick <matt.mccormick@kitware.com>
      27343e3b
  15. 28 Apr, 2015 1 commit
  16. 20 Apr, 2015 5 commits
  17. 18 Apr, 2015 1 commit
  18. 15 Apr, 2015 1 commit
  19. 13 Apr, 2015 3 commits
  20. 12 Apr, 2015 1 commit
  21. 08 Apr, 2015 1 commit
  22. 07 Apr, 2015 2 commits
  23. 06 Apr, 2015 2 commits
  24. 05 Apr, 2015 1 commit
  25. 10 Mar, 2015 2 commits