1. 05 Feb, 2018 2 commits
  2. 04 Feb, 2018 1 commit
  3. 03 Feb, 2018 1 commit
  4. 02 Feb, 2018 2 commits
    • Sebastian Holtermann's avatar
      Autogen: Improved multi-config include scheme · a8ee7406
      Sebastian Holtermann authored
      For multi configuration generators AUTOMOC generates the
      moc files that are included in `mocs_compilation.cpp`
      in `AUTOGEN_BUILD_DIR/include_$<CONFIG>/`. By doing so each
      configuration reads different moc files when compiling
      `mocs_compilation.cpp`. Since we do not (need to) rewrite
      `mocs_compilation.cpp` on a configuration change anymore,
      the files also does not need to be recompiled anymore.
      Not having to rewrite and recompile `mocs_compilation.cpp`
      on a configuration change anymore was the main objective of
      this patch.
      
      In a similar fashion AUTORCC generates a `qrc_BASE_CMAKE.cpp`
      file below `AUTOGEN_BUILD_DIR/include_$<CONFIG>/` and
      `qrc_BASE.cpp` becomes a mere wrapper that includes this
      actuall rcc output file (when using multi configuration
      generators).
      
      The template files `Modules/AutoRccInfo.cmake.in` and
      `Modules/AutogenInfo.cmake.in` were removed in favor
      of writing the info `.cmake` files manually.
      
      Closes #17230
      a8ee7406
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · a53697ac
      Kitware Robot authored
      a53697ac
  5. 01 Feb, 2018 4 commits
  6. 31 Jan, 2018 9 commits
  7. 30 Jan, 2018 7 commits
  8. 29 Jan, 2018 3 commits
  9. 28 Jan, 2018 1 commit
  10. 27 Jan, 2018 1 commit
  11. 26 Jan, 2018 4 commits
    • Robert Dailey's avatar
      VS: Use newline for empty DebugInformationFormat tags · b07b1aa4
      Robert Dailey authored
      Previously, code wrote out empty tags for `<DebugInformationFormat>`
      like so:
      
          <DebugInformationFormat></DebugInformationFormat>
      
      This gets corrected by Visual Studio 2017 when saving the solution. The
      correction appears as:
      
          <DebugInformationFormat>
          </DebugInformationFormat>
      
      In the spirit of keeping the XML structure as close to what Visual
      Studio expects as possible, a newline is inserted after the opening tag
      in the empty case.
      b07b1aa4
    • Kyle Edwards's avatar
      cmCTestScriptHandler: Add new field ShouldRunCurrentScript · 74092d92
      Kyle Edwards authored
      This is to avoid scope issues with CTEST_RUN_CURRENT_SCRIPT. If
      ctest_start() is called within a function scope, the value of
      CTEST_RUN_CURRENT_SCRIPT that it sets doesn't make it to the global
      scope. With this change, ctest_start() no longer sets
      CTEST_RUN_CURRENT_SCRIPT, and instead sets a field directly in
      cmCTestScriptHandler. The old behavior of CTEST_RUN_CURRENT_SCRIPT
      has also been kept for projects and tests that rely on setting it.
      74092d92
    • Pavel Solodovnikov's avatar
      Reduce allocation of temporary values on heap. · c85bb007
      Pavel Solodovnikov authored
      - Use `std::move` while inserting temporary results into vectors.
      - Change `push_back` to `emplace_back` where appropriate.
      c85bb007
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · 9a52b80d
      Kitware Robot authored
      9a52b80d
  12. 25 Jan, 2018 3 commits
  13. 24 Jan, 2018 2 commits