Re: Migration from autotools to cmake
Mike Frysinger <[email protected]> Tue, 19 Jul 2016 13:50:21 -0400
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <[email protected]> |
On 19 Jul 2016 18:17, Joel Rosdahl wrote: > On 12 July 2016 at 12:03, Иван Вайгульт <[email protected]> wrote: > > In order to enable visual studio build I did full build replica using > > cmake. [...] > > Any feedback from you is desired. > > Thanks for working on this. > > After some thinking I'm positive to getting rid of autotools. Although > I don't find cmake to be very elegant, it feels less bad than > autotools, at least for modern systems. > > Other opinions from list members are welcome! cmake is often still broken when it comes to cross-compiling (and even native compiles) and library searches. many of its modules do stupid things like check to see if libs can be found in /usr/lib and /usr/lib64 instead of doing link tests. the FindZLIB module still exhibits these and that branch is using that module. conversely, autotools has no such insanity. glancing at the branch: - CMakeLists.txt/*.cmake have inconsistent indentation (tab-vs-spaces) - CMakeLists.txt/*.cmake should have no trailing whitespace - DEVELOPER_BUILD should not default to "on" - `git describe` should not be run when DEVELOPER_BUILD is off - CCACHE_VERSION fallback should not be "unknown" but the release version - USE_OWN_LIBZ would prob be better named like "USE_SYSTEM_LIBZ" -mike _______________________________________________ ccache mailing list [email protected] https://lists.samba.org/mailman/listinfo/ccache
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXjmhcAAoJEEFjO5/oN/WBWToP/jZ0oyRL2uvvo6IkdiU2RSmF tQM/YJj/Gm55mQuC03Fcqh0UAjVUEUBzjjmNdXJQR6j/c2rzbpxDqetuxEVAncSq vvrNICW5JPe841aJYm1vspqlT3eXVidDkZlGIAk6hSUHC6MnhKCjAraZVosiFYQ7 nmc1WzF2JJ+l+gJ7R3oUAyN4/WCEti3Wks6PAdi6p75rMfxnyfyutpsjnhViACGH JmcsLPLR5pxRm/RTmkqnjjZxm5DdyyTmBoNVO3QQKXx9BYGGDnTnl+/J+hjcFZfl sbqLMywf7ZEiOVBJISZBUIzbDsJ87oh11lk112LXrrwIy96WAf7TKrj2LGlSIeVS y+NulszDlrBWywwJ9EHZnihu6OHEBlSBpFbQSJrNTr14WfJwGFcXoYwZy6XJdamX 7o+QZMBEqZ9UJbBakD1IHfy0RJjf8HxbsNW5zHp4BkCGYK7sQdcH5UmxI6lp/eMK tW1AAD0VkqnPKIgdI8qfix/s5nKH2lv+hhLw7szhXRiffz1FC4rOt90l6XZ75SCZ ehR51PRcL3MazGPhobChAEm0yAbBro4IuxXj4xaGJhM7eLOaVoO3BWzBEcgnQVa3 4Ad3sPa61ZquLIOreEeAxDnbVr7o2t2SUCueP/GcLb9leKaUSaZUgnchbVSAfL1Z PX4DjpKplQAgR+MbsNB8 =Biw9 -----END PGP SIGNATURE-----