1. 13 Dec, 2018 1 commit
    • Kyle Edwards's avatar
      CMakeParseArguments: Remove superfluous includes of CMakeParseArguments · 88b40744
      Kyle Edwards authored
      Because cmake_parse_arguments() has been implemented as a native
      command, there is no need to include(CMakeParseArguments) anymore.
      Its inclusion has been removed from several CMake modules.
      Tests/CMakeOnly/CMakeLists.txt has been changed to include the
      *building* CMake's copy of CMakeParseArguments rather than the
      *built* CMake's copy. This file included the *built* copy because
      when this file was introduced, CMake could still be built with versions
      that didn't supply cmake_parse_arguments(). Now, CMake requires 3.1 or
      greater, where cmake_parse_arguments() existed but was still in the
      form of a module, so we include it from the *building* CMake.
  2. 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
      Fixes: #16748
  3. 30 Aug, 2018 2 commits
    • Brad King's avatar
      CheckIPOSupported: Tolerate backslashes in output of failed checks · 4e1ea02b
      Brad King authored
      Avoid passing the output of our `try_compile` through a macro argument.
      Macro invocations re-parse their arguments and so should not be given
      arbitrary content that may contain backslashes and such.
      Instead pass a simple message.  This is also more readable in the case
      that the macro generates a message itself.  After the macro returns,
      report the real output directly to the variable named by our caller.
      Also record the output in a log file as other checks do on failure.
      Fixes: #18244
    • Brad King's avatar
      CheckIPOSupported: Simplify result reporting logic · b7dbb25a
      Brad King authored
      Simplify the test for whether a `RESULT` argument was given to the
      `check_ipo_supported` call.  Also do not set an empty variable name
      if `OUTPUT` was not given.
  4. 30 Jan, 2018 1 commit
  5. 14 Jun, 2017 1 commit
    • Brad King's avatar
      IPO: Consider support for each language separately · ba247cca
      Brad King authored
      We only define `INTERPROCEDURAL_OPTIMIZATION` behavior for C, CXX, and
      Fortran languages.  Do not try to enable support for other languages.
      Furthermore, each language builds with a different compiler, so check
      for support by CMake and the compiler for each language independently.
      Fixes: #16944
  6. 02 May, 2017 1 commit
  7. 04 Apr, 2017 2 commits
  8. 30 Mar, 2017 2 commits
  9. 11 Mar, 2017 1 commit