0

It's been recommended to me to use the checkinstall mechanism to install artifacts I build from source. But - the example involves GNU autotools (./configure) while I use CMake. How "friendly" is checkinstall towards CMake builds?

Note: I'm using Devuan 3 Beowulf, in case it matters.

1

checkinstall doesn’t particularly care about the build framework being used, it cares about the installation process, and those generated by Autotools and CMake are equivalently well-behaved. checkinstall with its default settings, or with file system translation, will do the right thing with correctly-written CMake projects.

3
  • "correctly-written" meaning...? – einpoklum Apr 23 '20 at 12:54
  • That’s a vast topic ;-). I’m thinking in particular of CMakeLists.txt files which override CMake’s installation functions, or do strange things with the installation prefixes. – Stephen Kitt Apr 23 '20 at 13:06
  • That's still pretty vague, but ok. – einpoklum Apr 23 '20 at 23:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.