[CMake] How to partial-build like kconfig of Linux kernel do?

Sam H. samho5888 at gmail.com
Fri Mar 21 03:25:09 EDT 2014


Hi,

I use option and configure_file commands to generate header file for
feature selection in project.
I can use ccmake to change options and then regenerate header file.
However, files referring to header file will all be rebuilt.

It likes the case mentioned in comments of scripts/basic/fixed.c of Linux
kernel.

How can I do to partial build like kconfig of Linux kernel do?

Thanks,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140321/712cc53d/attachment.html>


More information about the CMake mailing list