1. 28 Mar, 2018 2 commits
    • Robert Maynard's avatar
      CUDA: Pass more link libraries to device linking · 41eab150
      Robert Maynard authored and Brad King's avatar Brad King committed
      Previously we dropped non-target items from the device link line because
      nvcc rejects paths to shared library files, and only with target items
      do we know the kind of library.  However, this also prevents projects
      from linking to system-provided libraries like `cublas_device` that
      contain device code.
      Fix this by passing more link items to device linking.  Items that are
      not file paths, such as `-lfoo`, can simply be passed unconditionally.
      Items that are targets known to be shared libraries can still be
      skipped.  Items that are paths to library files can be passed directly
      if they end in `.a`.  Otherwise, pass them using `-Xnvlink` to bypass
      nvcc's front-end.  The nvlink tool knows to ignore shared library files.
      Issue: #16317
    • Brad King's avatar
      CUDA: Pass host linker directories to device linker · 88c7abb7
      Brad King authored
      In some environments, libraries containing device code are installed in
      directories searched by the host linker but not passed by nvcc to
      nvlink.  Make these libraries available by explicitly passing the
      host linker search directories during device linking.
      Issue: #16317
  2. 20 Mar, 2018 8 commits
  3. 19 Mar, 2018 21 commits
  4. 18 Mar, 2018 1 commit
  5. 17 Mar, 2018 2 commits
  6. 16 Mar, 2018 6 commits
    • Alex Turbov's avatar
      project: Add HOMEPAGE_URL named parameter · 73f9b297
      Alex Turbov authored and Craig Scott's avatar Craig Scott committed
      This sets variables like PROJECT_HOMEPAGE_URL, which can be
      used as default values for various things (packaging modules,
      doxygen defaults, etc.). Some packaging modules have been
      updated to do this as part of this commit.
      Co-Author: Craig Scott <craig.scott@crascit.com>
    • Craig Scott's avatar
      project: Add <PROJECT-NAME>_DESCRIPTION · fd28c382
      Craig Scott authored
      For consistency with the VERSION keyword, also define the
    • Craig Scott's avatar
    • Marc Chevrier's avatar
      Help: refresh list() command documentation · 81226c73
      Marc Chevrier authored
      Reformat `list` command documentation be consistent with the `string`
    • Brad King's avatar
      find_package: Use PackageName_ROOT variables as search prefixes · eb35d888
      Brad King authored
      This feature was originally added by commit v3.9.0-rc1~71^2~2 (find_*:
      Add a new PackageRoot search path group, 2017-05-03) and documented by
      commit v3.9.0-rc1~71^2 (find_*: Add docs for PackageRoot search path
      group, 2017-05-03).  However, we had to disable the feature and remove
      the documentation in commit v3.9.1~2^2 (find_*: Disable the PACKAGE_ROOT
      search path group for CMake 3.9, 2017-08-08) due to breaking projects
      that used `PackageName_ROOT` variables themselves.
      Add policy `CMP0074` to restore the `PackageName_ROOT` variable behavior
      in a compatible way.  Also revise the stack of root paths to store the
      paths themselves rather than the package names.  This way the policy can
      be considered at the `find_package` call site instead of individual
      `find_` calls inside a find module.
      Co-Author: Chuck Atkins <chuck.atkins@kitware.com>
      Issue: #17144
    • Wouter Klouwen's avatar
      Export: allow exporting of additional properties · 6db61f07
      Wouter Klouwen authored and Brad King's avatar Brad King committed
      This change introduces an additional property that may be set on a
      target to allow additional properties to be exported. Normally only a
      limited number of properties are exported.
      Additional properties may be exported by simply setting the
      `EXPORT_PROPERTIES` property on a target that is exported.