Re: [cmake-developers] Integrate fixdep for kconfig
On 10/02/2014 08:52 AM, Sam H. wrote: > I try my best to describe my understanding. Thanks for the explanation. > My prototype patch is try to do what fixdep do in CMake. It is do-able in the CMake "Makefile" generator but AFAICT cannot possibly work for the Ninja generator or the VS/Xcode generators. Those all let the build tool do their own dependencies. > 4. Do more configuration: > $ cd .. > $ make menuconfig > $ make silentoldconfig In plain CMake, configuration like this is normally kept in CMake cache variables and edited with ccmake or cmake-gui. It's not the same interface as menuconfig but it has the same capabilities and works on all platforms CMake supports. > Because the license issue and mmap() issue, codes need to be re-implement. Yes. The implementor also shouldn't look at the original source. > However, I'm not familiar with CMake codes and C++. > So what can I do if this feature could be accepted? Personally I see little value in supporting an auxiliary configuration system in a way that works only with one of our generators. However, if it can be implemented in a way that is not intrusive and can be enabled optionally then it would be an acceptable patch. There must still be a way to follow autoconf.h with normal scanning if the kconfig part is not enabled. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] Integrate fixdep for kconfig
On 09/24/2014 07:18 AM, Sam H. wrote: > I would like to use kconfig from Linux for my project settings. > So I integrate fixdep tools into CMake for parsing CONFIG_xxx key words > and set proper dependency of files that are generated by kconfig. For those of us unfamiliar with kconfig/fixdep, please provide a high level explanation of how they work and why CMake dependency scanning needs to be modified. > However, here come some issues. > 1. The codes from fixdep is declared as GPL. But CMake use BSD. > 2. fixed use mmap(). But this API is not support well on Windows. Both of these need to be addressed before a patch would be accepted. We cannot link GPLed code, and we need a portable implementation. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] Integrate fixdep for kconfig
Hi, I would like to use kconfig from Linux for my project settings. So I integrate fixdep tools into CMake for parsing CONFIG_xxx key words and set proper dependency of files that are generated by kconfig. My scratch is attached. However, here come some issues. 1. The codes from fixdep is declared as GPL. But CMake use BSD. 2. fixed use mmap(). But this API is not support well on Windows. So could any expert in CMake development give me some recommendations? Thanks, Sam cmake_kconfig.diff.gz Description: GNU Zip compressed data -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers