illinoiswhe.blogg.se

Cmake install not copying files
Cmake install not copying files











cmake install not copying files

Here’s how I use it.Īt the top of your project, you will need to include ExternalProject and set a link directory. It is the perfect last resort when all else fails. I use ExternalProject_Add for many third party libraries. Some people still use autotools and expect us t. If it didn’t, it would at least provide a CMake file and an install target. If the world was a perfect place, every project would provide a Conan recipe. I use ExternalProject in virtually every new project. For these to work, I expect the user has 3 and only 3 tools. It is a collection of funky and unorthodox techniques I find cool and useful. This post isn’t the standard “modern CMake” fair. When combined with other build best-practices, not pasting dependencies in your source tree and locally installing your dependencies, the rule has led to some interesting CMake usage. Any and every software I write must download, install and setup its dependencies without requiring user interaction. A long long time ago, after years and years of fighting with software that doesn’t build, I made a life changing decision.













Cmake install not copying files