[CMake] how to link a test with library in build directory, not with installed version?

2019-05-27 Thread Joachim Wuttke
How to link a test with a library as obtained in the build directory, not with the installed version, which may be outdated? Disclosure: cross-posted from https://stackoverflow.com/questions/56328326. == Use case == Suppose cmake; make; ctest; make install works fine: - generates libA, - ru

Re: [CMake] Dependency cycle - why?

2019-05-27 Thread Robert Maynard via CMake
I misspoke. I meant that what you want to do with the custom commands was supported by CMake. Adding support for extra languages to CMake requires modifications at the C++ level, if you want full support. Things such as installing, and generator expressions require C++ level changes. On Sat, May