This repository has been archived by the owner on Aug 11, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use depfiles in FindComputeCpp.cmake (#130)
Adds `DEPFILE` to the custom command that invokes the device compiler to trigger rebuilds of the integration header once an included header changed when using the Ninja generator and CMake 3.7 and up. Also, ComputeCpp_ROOT_DIR is set based on the location of the INCLUDE directory. These locatons are derived from the cache variable passed by the user, if present, failing that an environment variable, and if neither are passed, the standard system locations. Additionally removes a trailing whitespace.
- Loading branch information
1 parent
7a227be
commit 8761e33
Showing
1 changed file
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters