conan: conan cmake will invalidate the old project test
I want to add conan support to my project, but to found it will break my original test settings.
where you can found my cmakelist here:
https://github.com/vigcoin/coin/blob/master/CMakeLists.txt
i currently put to code to the end to ignore conan modules.
you can move it up and execute
./build-debug.sh
to see what will happen under ubuntu 16.04.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (13 by maintainers)
No problem at all. You’re all being very helpful. I just wanted to note how important tone can be. (Not directly related but here’s a great talk about how to evangelise your favourite technology. It explains why being right is half the battle … but only on a good day!)
And my particular issue is fixed now. In summary, when using Conan, if
ctest
cannot find tests because they have been moved to a bin/ sub-directory, initialise Conan withconan_basic_setup(NO_OUTPUT_DIRS)
.Thanks, John