Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake jit_preprocess_files function only runs when needed (#7872)
This correct a couple of issues with the `jit_preprocess_files` function. 1. It now always makes sure that the output directory that the jit headers are going into will exist before executing. So if a user deletes `<build_dir>/include` everything will work as expected 2. The output of the jitify tool are files that end in `.jit.hpp` not `.jit`. This is required to allow generators to build the minimal incremental compilation graph 3. Mark the input source files as a dependency so when that file is modified, the build-system knows to recompile the jit file. Authors: - Robert Maynard (https://github.com/robertmaynard) Approvers: - Christopher Harris (https://github.com/cwharris) - Nghia Truong (https://github.com/ttnghia) - Jason Lowe (https://github.com/jlowe) - Keith Kraus (https://github.com/kkraus14) URL: #7872
- Loading branch information