[cmake-developers] Integrate fixdep for kconfig
Brad King
brad.king at kitware.com
Fri Oct 3 09:14:06 EDT 2014
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
More information about the cmake-developers
mailing list