mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Output files get the source property `GENERATED` which is indirectly checked by adding them to a library. For a missing file that is not generated CMake will abort. With the new behavior according CMP0070 relative files are generated into the binary directory.
24 lines
838 B
Plaintext
24 lines
838 B
Plaintext
^CMake Deprecation Warning at SourceProperty-CMP0070-OLD.cmake:[0-9]+ \(cmake_policy\):
|
|
The OLD behavior for policy CMP0070 will be removed from a future version
|
|
of CMake.
|
|
|
|
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
|
policies are deprecated and that a policy should be set to OLD only under
|
|
specific short-term circumstances. Projects should be ported to the NEW
|
|
behavior and not rely on setting a policy to OLD.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:[0-9]+ \(include\)
|
|
|
|
|
|
CMake Error at SourceProperty-CMP0070-OLD.cmake:[0-9]+ \(add_library\):
|
|
Cannot find source file:
|
|
|
|
.*\/relative-output-OLD\.c
|
|
|
|
Tried extensions \.c \.C.*
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:[0-9]+ \(include\)
|
|
|
|
|
|
CMake Generate step failed. Build files cannot be regenerated correctly.$
|