CMake/Tests/CMakeCommands/target_sources
Patrick Stotko 316815e1f4 target_sources: Interpret relative paths as relative to the calling directory
Previously the command considered non-absolute source file paths relative to
the associated target on the LHS. This causes problems in incremental builds
where files are added from subdirectories and forces users to workaround by
manually converting to absolute paths. Change this to enable more intuitive
usage by projects.

Fixes #17981
2018-06-18 21:01:57 +02:00
..
subdir target_sources: Interpret relative paths as relative to the calling directory 2018-06-18 21:01:57 +02:00
CMakeLists.txt target_sources: Interpret relative paths as relative to the calling directory 2018-06-18 21:01:57 +02:00
empty_1.cpp target_sources: Interpret relative paths as relative to the calling directory 2018-06-18 21:01:57 +02:00
empty_2.cpp target_sources: Interpret relative paths as relative to the calling directory 2018-06-18 21:01:57 +02:00
empty_3.cpp target_sources: Interpret relative paths as relative to the calling directory 2018-06-18 21:01:57 +02:00
main.cpp target_sources: Interpret relative paths as relative to the calling directory 2018-06-18 21:01:57 +02:00