|
From: | Yigal Hochberg |
Subject: | Re: [lwip-users] lwIP 2.1 cleanup - remove UNIX test apps |
Date: | Sat, 16 Jun 2018 20:56:02 -0400 |
I agree a simple build system ideally without any dependency is best. But cmake provides a great advantage: you prefer Makefiles, others prefer Visual Studio projects, others Eclipse projects, others Ninja as a build system etc. - cmake provides all of this and the cmake files are more readable, at least after getting used to yet-another-syntax. The drawback is you have to install one more dependency...I still want to provide the Filelists.mk files, these won't go away, so it will be always easy to maintain a Makefile based system for your own projects without installing cmake.
DirkOn Fri, Jun 15, 2018 at 11:57 PM Yigal Hochberg <address@hidden> wrote:Thanks Dirk,I like and prefer gnu Makefiles ready to go. They work work well in Linux and on Windows using Mingw and Cygwin.For msvc all you need is to change the CC and CFLAGS and you are good to go. msvc 2017 is finally very close to c99 or even later.The "older" file organization with Makefiles without the need to additional cmake processing.For all windows the final link needs win pcap lib (taken from wherever it was installed).I will try your suggestion for cmake (will need to install cmake).If it is simple and reliable maybe it is a godo improvement.ThanksYigal______________________________On Fri, Jun 15, 2018 at 3:28 PM, Dirk Ziegelmeier <address@hidden> wrote:Hi Yigal,I removed it because you can generate easily a Makefile-based build (and many others) using cmake.- cd into example_app dir- mkdir build- cd build- cmake .. -G "MinGW Makefiles"- makeThe msvc_netif_init contains no platform specific code. I just forgot to rename it. Just pushed a fix it a few minutes before.
Dirk
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
--Yigal_________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |