1. 14 Nov, 2018 1 commit
    • Kyle Edwards's avatar
      find_package(): Add policy to remove the FindQt module · 0f5c1b40
      Kyle Edwards authored
      Removing FindQt.cmake gives Qt upstream a path forward to export its
      own QtConfig.cmake files which can be found by find_package()
      without having to explicitly specify CONFIG. Projects that still
      want to use Qt3/4 can call find_package(Qt[34]), include(FindQt),
      or add FindQt.cmake to their CMAKE_MODULE_PATH.
      0f5c1b40
  2. 11 Nov, 2018 2 commits
  3. 08 Nov, 2018 2 commits
  4. 07 Nov, 2018 1 commit
    • Kyle Edwards's avatar
      install: Add sane set of defaults for DESTINATION and file type parameters · 9fc20a4f
      Kyle Edwards authored
      If the user does not specify a DESTINATION for a target type, the
      install() command checks to see if the appropriate variable from
      GNUInstallDirs is set. If it is not, then it uses an appropriate
      hard-coded guess.
      
      In addition, for FILES and DIRECTORY, the user can specify a file
      type instead of a DESTINATION, and the command will use the
      appropriate variable from GNUInstallDirs, or a hard-coded guess if
      it is not set.
      9fc20a4f
  5. 06 Nov, 2018 2 commits
  6. 05 Nov, 2018 3 commits
  7. 03 Nov, 2018 3 commits
  8. 01 Nov, 2018 3 commits
  9. 31 Oct, 2018 2 commits
    • Brad King's avatar
      CSharp: Fix regression in VS project type selection for custom target · 1acd1c2b
      Brad King authored
      A target created by `add_custom_target` should always be a `.vcxproj`
      file even if it has `.cs` sources involved in custom commands and such.
      The latter case was broken by refactoring in commit v3.12.0-rc1~160^2~7
      (remove TargetIsCSharpOnly() and use methods from cmGeneratorTarget,
      2018-03-19).  The reason is that the `HasLanguage` method added by
      commit v3.12.0-rc1~239^2~6 (cmGeneratorTarget: add HasLanguage() as
      wrapper for GetLanguages(), 2018-03-19) does not check the target type
      and so is not a suitable check for deciding the project file extension.
      
      The `HasLanguage` method was an attempt at an abstraction that turns
      out not to work very well.  Replace it with a dedicated `IsCSharpOnly`
      method that considers the target type, sources, and non-transitive
      `LINKER_LANGUAGE`.
      
      Fixes: #18515
      1acd1c2b
    • Brad King's avatar
      CSharp: Fix regression in VS project type selection for custom target · a56edad6
      Brad King authored
      A target created by `add_custom_target` should always be a `.vcxproj`
      file even if it has `.cs` sources involved in custom commands and such.
      The latter case was broken by refactoring in commit v3.12.0-rc1~160^2~7
      (remove TargetIsCSharpOnly() and use methods from cmGeneratorTarget,
      2018-03-19).  The reason is that the `HasLanguage` method added by
      commit v3.12.0-rc1~239^2~6 (cmGeneratorTarget: add HasLanguage() as
      wrapper for GetLanguages(), 2018-03-19) does not check the target type
      and so is not a suitable check for deciding the project file extension.
      
      The `HasLanguage` method was an attempt at an abstraction that turns
      out not to work very well.  Replace it with a dedicated `IsCSharpOnly`
      method that considers the target type, sources, and non-transitive
      `LINKER_LANGUAGE`.
      
      Fixes: #18515
      a56edad6
  10. 29 Oct, 2018 2 commits
    • Brad King's avatar
      set_directory_properties: Restore in script mode · 50572d63
      Brad King authored
      Since commit v3.10.0-rc1~391^2~3 (Add directory property 'LABELS' and
      CMAKE_DIRECTORY_LABELS variable, 2017-06-23) this command was
      accidentally not allowed in script mode.  It was dropped because
      `ctest -S` mode needs to start with CMake's normal script mode and
      then replace the `set_directory_properties` implementation.  Restore
      the normal `set_directory_properties` in script mode and then add
      special logic to replace it in ctest.  Also add a test case.
      
      Fixes: #18523
      50572d63
    • Cris Luengo's avatar
      FindMatlab: Fix compilation error in one specific test configuration. · ee73e733
      Cris Luengo authored
      `matlab_wrapper2.cpp` failed to compile in one specific test configuration.
      I've copied an odd workaround from `matlab_wrapper1.cpp`, which doesn't fail
      to compile. I presume this workaround was meant to address this issue, but
      can't verify this locally.
      ee73e733
  11. 26 Oct, 2018 5 commits
  12. 24 Oct, 2018 2 commits
  13. 23 Oct, 2018 1 commit
  14. 22 Oct, 2018 1 commit
  15. 19 Oct, 2018 2 commits
    • Wouter Klouwen's avatar
      ExternalProject: option LOG_MERGED_STDOUTERR to combine stdout and stderr · 7ddc9e35
      Wouter Klouwen authored
      In some circumstances the user of ExternalProject may not desire the
      split log files for stdout and stderr. In particular with a project has
      many errors it can be difficult to correlate the output error with the
      command that it resulted from.
      
      This commit adds the LOG_MERGED_STDOUTERR option that when enabled
      outputs into a unified <name>-<step>.log for each step. If disabled it
      will default to the previous behaviour of <name>-<step>-out.log and
      <name>-<step>-err.log.
      7ddc9e35
    • Wouter Klouwen's avatar
      ExternalProject: add LOG_DIR option that allows overriding of log location · b6f6cac3
      Wouter Klouwen authored
      In some situations it can be helpful to separate out the location of the
      log files from the location of the stamp files. For instance if you have
      a continuous integration that exposes the location where log files are
      stored.
      
      This commit adds an option that allows a user to override the default
      behaviour of putting the log files in STAMP_DIR called LOG_DIR. The
      previous behaviour of putting the log files into the STAMP_DIR applies
      if LOG_DIR is not specified.
      b6f6cac3
  16. 18 Oct, 2018 1 commit
  17. 16 Oct, 2018 3 commits
  18. 15 Oct, 2018 1 commit
  19. 11 Oct, 2018 3 commits