Has CMAKE been considered ? CMAKE should work equally well on windows(visual studio and Cygwin) and linux. You can create a new build system around CMAKE while keeping the current Makefile system alive, and deprecate it later, once the CMAKE based build system is stable.
-Raghu
Thanks for the suggestion. Does CMAKE support configuration system as well ? Another factor to consider is the familiarity of the build system with the community, and we think Kbuild would rank high on that.
Best Regards Soby Mathew IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Yup. Usually the flow for using cmake is to first configure the project after which cmake generates build files which may be visual studio solution files or make files or ninja build files. I do agree though that cmake will not match kbuild with respect to familiarity but it seems like more and more projects(including zephyr) are moving to cmake. Just a thought :) don’t have a strong preference.
Raghu
On Dec 14, 2018, at 9:06 AM, Soby Mathew Soby.Mathew@arm.com wrote:
Has CMAKE been considered ? CMAKE should work equally well on windows(visual studio and Cygwin) and linux. You can create a new build system around CMAKE while keeping the current Makefile system alive, and deprecate it later, once the CMAKE based build system is stable.
-Raghu
Thanks for the suggestion. Does CMAKE support configuration system as well ? Another factor to consider is the familiarity of the build system with the community, and we think Kbuild would rank high on that.
Best Regards Soby Mathew IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
OK, we will have look at CMake since Zephyr seems to be making the switch. Thanks for bring this to our notice.
Best Regards Soby Mathew
-----Original Message----- From: Raghupathy Krishnamurthy raghu.ncstate@icloud.com Sent: 14 December 2018 20:50 To: Soby Mathew Soby.Mathew@arm.com Cc: tf-a@lists.trustedfirmware.org Subject: Re: [Tf-a] New build system based on Kconfig/Kbuild
Yup. Usually the flow for using cmake is to first configure the project after which cmake generates build files which may be visual studio solution files or make files or ninja build files. I do agree though that cmake will not match kbuild with respect to familiarity but it seems like more and more projects(including zephyr) are moving to cmake. Just a thought :) don’t have a strong preference.
Raghu
On Dec 14, 2018, at 9:06 AM, Soby Mathew Soby.Mathew@arm.com wrote:
Has CMAKE been considered ? CMAKE should work equally well on windows(visual studio and Cygwin) and linux. You can create a new build system around CMAKE while keeping the current Makefile system alive, and deprecate it later, once the CMAKE based build system is stable.
-Raghu
Thanks for the suggestion. Does CMAKE support configuration system as well ? Another factor to
consider is the familiarity of the build system with the community, and we think Kbuild would rank high on that.
Best Regards Soby Mathew IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
tf-a@lists.trustedfirmware.org