1. 13 Jun, 2019 1 commit
  2. 07 Jun, 2019 1 commit
  3. 04 Jun, 2019 1 commit
  4. 03 Jun, 2019 12 commits
  5. 30 May, 2019 2 commits
    • KonanM's avatar
      42e14d90
    • Brad King's avatar
      Do not exclude include directories made implicit by CPATH · 2d0b0e2b
      Brad King authored
      Entries of the `CPATH` environment variable are implicitly searched as
      include directories by some C/C++ compilers.  Since commit 5990ecb7
      (Compute implicit include directories from compiler output, 2018-12-07,
      v3.14.0-rc1~108^2) these entries are detected by CMake and included in
      the `CMAKE_{C,CXX}_IMPLICIT_INCLUDE_DIRECTORIES` variables.
      
      However, we should not exclude them from explicit specification via `-I`
      or particularly `-isystem` because they are meant as user-specified
      include directories that can be re-ordered without breaking compiler
      builtin headers.  In particular, we need explicit requests via
      `include_directories` with the `SYSTEM` option to result in `-isystem`
      so that third-party headers do not produce warnings.
      
      Co-Author: Ben Boeckel <ben.boeckel@kitware.com>
      Fixes: #19291
      2d0b0e2b
  6. 24 May, 2019 4 commits
  7. 23 May, 2019 1 commit
  8. 22 May, 2019 2 commits
    • Brad King's avatar
      Genex: Fix value lifetimes in nested TARGET_PROPERTY evaluation · 5a1af142
      Brad King authored
      For special properties like `INCLUDE_DIRECTORIES`, the pointer returned
      by `cmTarget::GetProperty` is only valid until the next time the same
      special property is queried on *any* target.  When evaluating a nested
      `TARGET_PROPERTY` generator expression we may look up such a property
      more than once on different targets.  Fix `TargetPropertyNode::Evaluate`
      to store the lookup result in locally owned memory earlier.
      
      Fixes: #19286
      5a1af142
    • Eicke Herbertz's avatar
      Tests: Add environment generator tests · d0f0ba0f
      Eicke Herbertz authored
      d0f0ba0f
  9. 21 May, 2019 5 commits
  10. 18 May, 2019 1 commit
  11. 17 May, 2019 2 commits
  12. 16 May, 2019 1 commit
  13. 15 May, 2019 1 commit
    • Sebastian Holtermann's avatar
      Test: Improve WarnUnusedCliUnused to run on all generators · 4edc0ef3
      Sebastian Holtermann authored
      In the WarnUnusedCliUnused test, the whole CMakeCache.txt was removed in the
      clean stage to trigger the same CMake warning in re-builds.  This technique
      worked only in the Makefile generators and the test was limited to these.
      
      Now only the variable of interest is removed from the cache by using a
      `unset(UNUSED_CLI_VARIABLE CACHE)` statement in the CMakeLists.txt file.
      This makes the WarnUnusedCliUnused test run on all generators
      4edc0ef3
  14. 14 May, 2019 4 commits
  15. 13 May, 2019 2 commits