Hello,
according to the doc for CMake 3.14, target_sources() interprets relative
source file paths as being relative to the current source directory, i.e.
it should
prepend CMAKE_CURRENT_SOURCE_DIR to the relative paths given by the user.
However, this is not the case if the target and the sources
I've recently converted a complex C++ codebase to CMake. I'm stuck using
2.8.12.2.
The codebase has a source tree, whose leaf directories each build a shared
library or an executable binary. The source lives in src/ while the headers
live in a separate tree under a sibling include/ directory.
Bas