[cmake-developers] For a certain use case, CMake configures linking to the *same* library in both -L... -l... form and raw file form

2019-08-17 Thread Alan W. Irwin
To temporarily work around some bugs in cmake-d support for the D language case, I modified our normal use case for PLplot linking between our D examples and D binding. And that lead to the peculiar result mentioned on the subject line which I have now also confirmed for the Fortran language. (S

Re: [cmake-developers] ninja generator does NOT use absolute paths at rules?

2019-08-17 Thread Claus Klein
There is a workaround about this issue: Create the binary_dir (build) outside the source_dir! Than every path to source files are absolute ;-) i.e.: clausklein$ make -n check mkdir -p ../.build-samples-Debug cd ../.build-samples-Debug && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MA