1. 27 Sep, 2016 4 commits
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and lin...
      86578ecc
    • Domen Vrankar's avatar
      39c7d62c
    • Domen Vrankar's avatar
      CPack/RPM debuginfo directories to sources · dd3c938a
      Domen Vrankar authored
      List of sources must be split into paths parts
      so that debuginfo package cleans up after
      itself.
      dd3c938a
    • Domen Vrankar's avatar
      CPack/RPM debuginfo packages must contain sources · b78fcf0d
      Domen Vrankar authored
      Issue #15668 fix was missing relevant source
      files in debuginfo package.
      b78fcf0d
  2. 26 Sep, 2016 2 commits
  3. 25 Sep, 2016 2 commits
    • Gregor Jasny's avatar
      Xcode: Convert maybe unversioned OSX sysroot into versioned SDK path · 540815ee
      Gregor Jasny authored
      Starting with Xcode 8 the SDK folder also contains an unversioned
      entry:
      
      $ ls -l /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
      
      drwxr-xr-x  5 root  wheel  170 Mar  4  2018 MacOSX.sdk
      lrwxr-xr-x  1 root  wheel   10 Sep 16 20:49 MacOSX10.12.sdk -> MacOSX.sdk
      
      If this unversioned path is used CMake cannot detect the SDK
      version. To work around the problem we always invoke the code path
      that translates short SDK names like "macosx10.12" into a path.
      That way we always end up with a versioned SDK path in
      _CMAKE_OSX_SYSROOT_PATH which is later used to determine the version.
      
      Closes: #16323
      540815ee
    • Tatsuyuki Ishi's avatar
      FindBoost: update to 1.62 · 9bb8ac8e
      Tatsuyuki Ishi authored
      9bb8ac8e
  4. 24 Sep, 2016 1 commit
  5. 23 Sep, 2016 4 commits
  6. 22 Sep, 2016 4 commits
    • Brad King's avatar
      CheckFortranSourceCompiles: Add support for custom source extension · 4d3874d5
      Brad King authored
      Fortran compilers interpret the source extension to decide whether
      to preprocess and what language level to use by default.
      4d3874d5
    • Brad King's avatar
    • Brad King's avatar
      Ninja: Add explicit preprocessing step for Fortran · 39ebfc79
      Brad King authored
      All Fortran sources need to be preprocessed before any source may be
      compiled so that module dependencies can be (later) extracted.  Factor
      out an explicit preprocessing step preceding compilation.  Use Ninja
      depfile dependencies on the preprocessing step and then compile the
      already-preprocessed source with a separate build statement that depends
      explicitly only on the preprocessor output.  Later we will insert
      dynamic discovery of module dependencies between these steps.
      39ebfc79
    • Brad King's avatar
      FindOpenSSL: Search in more-specific directories before less-specific · 0d8c5ba4
      Brad King authored
      Since commit v3.6.0-rc1~182^2 (FindOpenSSL: Prefer libs early in search
      path regardless of name, 2016-04-04) we use the `NAMES_PER_DIR` option
      to `find_library` calls to consider all names in each directory before
      moving on to the next directory.  Fix our library search directory
      ordering to place more-specific (e.g. VC/) directories before the
      general directories.  Otherwise they may never be considered.
      
      Closes: #16320
      0d8c5ba4
  7. 20 Sep, 2016 3 commits
  8. 19 Sep, 2016 3 commits
  9. 18 Sep, 2016 2 commits
  10. 16 Sep, 2016 2 commits
    • Brad King's avatar
      CPackIFW: Format documentation · a327b206
      Brad King authored
      Place command documentation in explicit markup blocks and remove
      horizontal dividers.  Use definition lists and bullet lists as
      appropriate.
      a327b206
    • Pierluigi Taddei's avatar
      CPackIFW: Add USER_INTERFACES option · c2f0f41f
      Pierluigi Taddei authored
      Add to CPackIFW the capability of accepting a list of
      USER_INTERFACES that are copied to the meta folder and
      added to the component description.
      c2f0f41f
  11. 15 Sep, 2016 5 commits
  12. 14 Sep, 2016 3 commits
  13. 09 Sep, 2016 2 commits
  14. 08 Sep, 2016 1 commit
    • Brad King's avatar
      GetPrerequisites: Recognize absolute paths to UCRT system libraries · 258b7b28
      Brad King authored
      The matching expression added by commit v3.5.0-rc1~33^2
      (GetPrerequisites: Define api-ms-win-* files as system libraries,
      2016-01-19) did not account for absolute paths to the UCRT libraries.
      We already recognize absolute paths to the MSVC runtime libraries.
      Do this for UCRT libraries too.
      
      Issue: #16240
      258b7b28
  15. 07 Sep, 2016 2 commits
    • Brad King's avatar
      ExternalData: Tolerate files duplicated across multiple targets · f9973166
      Brad King authored
      If multiple ExternalData_Target_Add calls generate the same output file
      then we need to avoid calling add_custom_command multiple times with
      that output.  This was already done within a single target by setting a
      variable in the local function scope.  This will not be visible in other
      calls though so we need to use a directory property instead to prevent
      adding a custom command multiple times for one output in a directory.
      
      Normally it is not safe to have multiple custom commands that produce
      the same output file across multiple independent targets, but since we
      use atomic replacement of outputs the resulting races should not be a
      problem.  For the convenience of projects, tolerate this instead of
      diagnosing it.  In particular, we previously allowed up to two copies
      of the custom command in one directory because CMake has a fallback
      from MAIN_DEPENDENCY to an `<output>.rule` file.
      
      While at it, add a note to the documentation that typically o...
      f9973166
    • Roger Leigh's avatar