DEV Community

Discussion on: Autotools vs Cmake

Collapse
 
vimmer9 profile image
Damir Franusic

I am currently reading Cmake documentation and It will take some time to convert from autotools, but everything seems logical enough. It isn't all that bad like I assumed it would be. I currently have 50 lines in CMakeLists.txt, compared to combined 200 lines of configure.ac and Makefile.am.

The only thing that I am actively avoiding is cross compiling with Cmake. With autotools it's very simple; configure --host and off you go.