1. 30 May, 2019 2 commits
  2. 15 Apr, 2019 1 commit
  3. 12 Apr, 2019 1 commit
  4. 29 Jan, 2019 1 commit
  5. 10 Jan, 2019 1 commit
  6. 14 Oct, 2018 1 commit
  7. 08 Oct, 2018 1 commit
  8. 17 Sep, 2018 1 commit
    • Niels Dekker's avatar
      IPO: INTERPROCEDURAL_OPTIMIZATION (LTCG) for Visual Studio · 567fabe8
      Niels Dekker authored
      Add IPO support for Visual Studio (which is referred to by VS as
      "Link Time Code Generation" and "Whole Program Optimization"), for
      VS version >= 10.  This allows CMake/VS users to enable IPO by setting
      property `INTERPROCEDURAL_OPTIMIZATION`.
      
      Fixes: #16748
      567fabe8
  9. 16 May, 2018 1 commit
  10. 11 May, 2018 1 commit
  11. 09 May, 2018 1 commit
  12. 05 May, 2018 1 commit
  13. 04 May, 2018 2 commits
  14. 26 Apr, 2018 2 commits
  15. 24 Apr, 2018 2 commits
  16. 23 Apr, 2018 2 commits
    • Michael Stürmer's avatar
    • Fujii Hironori's avatar
      VS: Generate a custom command only in the least dependent target · f59c33a7
      Fujii Hironori authored
      If a custom command is assigned to multiple targets, generate the build
      rule only in the least-dependent `.vcxproj` file.  Otherwise MSBuild
      will run the command on the first build of a dependent target even if
      its dependencies already brought the command up to date (in order to
      populates its build log).
      
      Generate targets in least-to-most-dependent order, and assign a custom
      command to the least dependent target.
      
      Added cmLocalVisualStudio10Generator::GenerateTargetsDepthFirst to call
      cmVisualStudio10TargetGenerator::Generate in least-dependent order.
      
      Moved SourcesVisited from cmVisualStudio10TargetGenerator to
      cmLocalVisualStudio10Generator to avoid attaching a custom command to
      multiple targets among the local generator.
      
      Fixes: #16767
      f59c33a7
  17. 16 Apr, 2018 1 commit
  18. 05 Apr, 2018 1 commit
  19. 30 Mar, 2018 1 commit
  20. 27 Mar, 2018 1 commit
  21. 26 Mar, 2018 1 commit
  22. 16 Mar, 2018 1 commit
  23. 07 Mar, 2018 1 commit
  24. 21 Feb, 2018 1 commit
  25. 05 Feb, 2018 1 commit
  26. 01 Feb, 2018 1 commit
  27. 23 Jan, 2018 1 commit
  28. 12 Jan, 2018 2 commits
    • Brad King's avatar
      Genex: Enable COMPILE_LANGUAGE for INCLUDE_DIRECTORIES with VS and Xcode · 506fda1c
      Brad King authored
      The set of compile flags used for a target's C and C++ sources is based
      on the linker language.  By default this is always the C++ flags if any
      C++ sources appear in the target, and otherwise the C flags.  Therefore
      we can define the `COMPILE_LANGUAGE` generator expression in
      `INCLUDE_DIRECTORIES` to match the selected language.
      
      This is not exactly the same as for other generators, but is the best VS
      and Xcode can do.  It is also sufficient for many use cases since the
      set of include directories for C and C++ is frequently similar but may
      be distinct from those for other languages like CUDA.
      
      Fixes: #17435
      506fda1c
    • Brad King's avatar
      Genex: Enable COMPILE_LANGUAGE for COMPILE_DEFINITIONS with VS and Xcode · c2f79c98
      Brad King authored
      The set of compile flags used for a target's C and C++ sources is based
      on the linker language.  By default this is always the C++ flags if any
      C++ sources appear in the target, and otherwise the C flags.  Therefore
      we can define the `COMPILE_LANGUAGE` generator expression in
      `COMPILE_DEFINITIONS` to match the selected language.
      
      This is not exactly the same as for other generators, but is the best VS
      and Xcode can do.  It is also sufficient for many use cases since the
      set of definitions for C and C++ is frequently similar but may be
      distinct from those for other languages like CUDA.
      
      Issue: #17435
      c2f79c98
  29. 11 Jan, 2018 1 commit
  30. 26 Aug, 2017 1 commit
  31. 22 Jun, 2017 3 commits
  32. 13 Jun, 2017 1 commit