mirror of https://github.com/llvm/circt.git
f4e3b236cb
In a couple of places in our build system, we wanted to create targets that depended on generated files. We were not passing the full path to the generated files, e.g. `CosimScheme.h`, and CMake was unable to find the it. CMake was then searching the current directory for a matching file with a prefix, and would find the unprocessed file, e.g. `CosimSchema.h.in`, and use that instead. A policy change CMP0115 in newer version of CMake causes this to spit out many warnings about it how it will no longer search for source files. For more information about the policy see https://cmake.org/cmake/help/latest/policy/CMP0115.html This change provides the full path to the generated file, which allows cmake to find the intended file and not produce so many warnings. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
circt-rtl-sim.py.in | ||
driver.cpp.in | ||
driver.sv.in |