1. 04 Aug, 2015 1 commit
  2. 21 Jul, 2015 1 commit
  3. 12 Jul, 2015 1 commit
    • Stephen Kelly's avatar
      cmState: Restore renamed commands on cleanup. · d4f032b5
      Stephen Kelly authored
      Commit v3.3.0-rc1~196^2~7 (cmake: Simplify command clean up
      loop., 2015-04-12) introduced a bug that built-in commands which
      were renamed no longer had their original name restored when
      cleanup is performed between configure runs.  Check for that
      and restore the commands with their original name.
      Extend the complex test for this. That test is run by ctest with
      the --build-two-config command line option.
  4. 08 Jul, 2015 2 commits
  5. 06 Jul, 2015 1 commit
  6. 25 Jun, 2015 1 commit
    • Brad King's avatar
      cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626) · 30c2e1dd
      Brad King authored
      Since commit v3.3.0-rc1~62^2~5 (cmTarget: Store only cmListFileContext
      for CMP0023 handling, 2015-05-18) a call to target_link_libraries on a
      target that was defined in another (non-ancestor) directory crashes
      because no execution context is left active.  Fix this by getting the
      execution context from the actual cmMakefile where the current
      target_link_libraries call takes place.  Test this by verifying that
      such calls correctly produce an error diagnostic instead of crashing.
  7. 22 Jun, 2015 1 commit
    • Brad King's avatar
      Fix assertion failure on unmatched function or macro · 5d85fb4f
      Brad King authored
      The fix in commit v3.2.3~3^2 (Fix assertion failure on unmatched foreach
      in function, 2015-05-18) broke handling of unmatched non-loop blocks
      because it assumed all function blockers removed during error unwinding
      were for loops, essentially switching the set of mishandled cases.
      The purpose of the loop block push/pop operations is to define a scope
      matching the lifetime of the loop function blockers.  Since our function
      blockers already have the proper lifetime, simply move the push/pop
      operations to their constructor/destructor.
      Extend the RunCMake.Syntax test with a case covering this.
  8. 01 Jun, 2015 1 commit
  9. 29 May, 2015 1 commit
  10. 26 May, 2015 2 commits
    • Brad King's avatar
      Tests: Add case for rejecting $<TARGET_FILE:...> on an INTERFACE library · 89253992
      Brad King authored
      Add an explicit test for this existing error.  We already cover it for
      an OBJECT library but INTERFACE libraries are not allowed either.
    • Brad King's avatar
      Honor visibility properties for all target types (#15556) · 700f1c3b
      Brad King authored
      merged in commit v2.8.12~322 (Merge topic 'VISIBILITY_PRESET-property',
      2013-06-05) but worked only for shared libraries and executables with
      exports.  Prior to commit v3.0.0-rc1~581^2 (GenerateExportHeader:
      Deprecate add_compiler_export_flags function., 2013-09-02) the
      add_compiler_export_flags function was used to add visibility flags to
      all targets.
      The visibility flags are useful for sources in all target types because
      they may be later linked into shared libraries or executables with
      exports.  Introduce policy CMP0063 to enable them for all target types
      while preserving compatibility with existing projects that do not expect
  11. 22 May, 2015 4 commits
  12. 21 May, 2015 1 commit
    • Brad King's avatar
      Revert "Qbs: Add new 'extra' generator for qbs project files" · deec97d8
      Brad King authored
      This reverts commit f85db2f3.
      Discussion by the QtCreator community at
      raises concerns about this particular approach to working with CMake
      projects using QtCreator.  Also, the functionality and design of the QBS
      extra generator was never discussed on the CMake mailing list or with
      QtCreator developers.  There may be better ways to make the two tools
      work together.
      In order to avoid committing to long-term support of this generator
      prior to such discussion taking place, revert it from CMake for now.
      We may restore this or use an alternative design based on results of
      such discussion.
  13. 20 May, 2015 1 commit
  14. 19 May, 2015 2 commits
  15. 18 May, 2015 2 commits
    • Stephen Kelly's avatar
    • Brad King's avatar
      Fix assertion failure on unmatched foreach in function (#15572) · 3a656065
      Brad King authored
      The lexical scope counting added by commit v3.2.0-rc1~332^2~1 (Track
      nested loop levels in CMake language with a stack of counters,
      2014-11-18) forgot to account for scopes popped by error messages about
      unclosed scopes.  Teach the error handler to pop the lexical scope it
      reports as unclosed.  Re-order the lexical scope RAII object to be
      inside the variable scope RAII object scope so that the lexical scope
      is fully closed before we check assertions about variable scopes.
      Extend the RunCMake.Syntax test with a case covering this.
  16. 17 May, 2015 1 commit
  17. 14 May, 2015 4 commits
  18. 13 May, 2015 1 commit
  19. 12 May, 2015 2 commits
  20. 08 May, 2015 2 commits
  21. 07 May, 2015 2 commits
  22. 06 May, 2015 1 commit
  23. 04 May, 2015 1 commit
    • Brad King's avatar
      Tests: Enable devenv tests on VS >= 10 · 562e69dd
      Brad King authored
      The VSExcludeFromDefaultBuild have not been enabled on VS >= 10 since
      commit v3.0.0-rc1~260^2~9 (Tests: Simplify VSExcludeFromDefaultBuild
      configuration, 2013-11-14).  Since commit v3.0.0-rc1~260^2~2 (VS: Add
      CMAKE_VS_(DEVENV|MSBUILD|MSDEV)_COMMAND variables, 2013-12-04) we can
      simply check the CMAKE_VS_DEVENV_COMMAND variable for a devenv tool
      to use for the test.
  24. 30 Apr, 2015 2 commits
  25. 29 Apr, 2015 2 commits