mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Previously `file(GENERATE)` did not define any behavior for relative paths given to the `OUTPUT` or `INPUT` arguments. Define behavior consistent with CMake conventions and add a policy to provide compatibility for projects that relied on the old accidental behavior. Fixes: #16786
8 lines
295 B
ReStructuredText
8 lines
295 B
ReStructuredText
file-generate-relative-paths
|
|
----------------------------
|
|
|
|
* The :command:`file(GENERATE)` command now interprets relative paths
|
|
given to its ``OUTPUT`` and ``INPUT`` arguments with respect to the
|
|
caller's current binary and source directories, respectively.
|
|
See policy :policy:`CMP0070`.
|