paths to targets reported in status message are relative to the build directory
-- Build files have been written to: /home/jan.wilmans/project/myproject/build/release
[106/106] Linking CXX executable src/mylib/tests/mytest
The src/mylib/tests/mytest
is a relative path to /home/jan.wilmans/project/myproject/build/release
It would be much more helpful to me if that path was relative to the CMAKE_SOURCE_DIR or current working directory, instead of the the build directory. I wonder what the reason was to make it relative the build directory? and of course if we can change it?
could we for example introduce a CMAKE_REPORT_DIRECTORY so all path's are reported relative to this ? As I write this, I realize it is probably not CMAKE reporting this, but the generator (make/ninja etc)
Edited by Jan Wilmans